Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bstasyszyn
Copy link
Contributor

The Prometheus HTTP server was not started due to a bug. This commit required some refactoring of the code in order to properly start/stop the metrics server.

closes #1516

Signed-off-by: Bob Stasyszyn [email protected]

The Prometheus HTTP server was not started due to a bug. This commit required some refactoring of the code in order to properly start/stop the metrics server.

closes trustbloc#1516

Signed-off-by: Bob Stasyszyn <[email protected]>
@cla-bot cla-bot bot added the cla-signed label Nov 10, 2022
@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Base: 88.04% // Head: 88.15% // Increases project coverage by +0.10% 🎉

Coverage data is based on head (279f1db) compared to base (1cf1ce2).
Patch coverage: 85.60% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1517      +/-   ##
==========================================
+ Coverage   88.04%   88.15%   +0.10%     
==========================================
  Files         218      219       +1     
  Lines       20845    20847       +2     
==========================================
+ Hits        18354    18377      +23     
+ Misses       1598     1576      -22     
- Partials      893      894       +1     
Impacted Files Coverage Δ
cmd/orb-driver/startcmd/start.go 49.54% <ø> (+1.72%) ⬆️
cmd/orb-server/startcmd/start.go 67.65% <76.47%> (+0.65%) ⬆️
pkg/observability/metrics/prometheus/provider.go 99.26% <84.21%> (+1.05%) ⬆️
pkg/healthcheck/healthcheck.go 86.07% <86.07%> (ø)
pkg/httpserver/server.go 80.00% <100.00%> (-7.41%) ⬇️
pkg/observability/metrics/noop/provider.go 98.87% <100.00%> (+0.08%) ⬆️
pkg/vct/proofmonitoring/monitoring.go 84.09% <0.00%> (+3.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bstasyszyn bstasyszyn merged commit 972597e into trustbloc:main Nov 10, 2022
@bstasyszyn bstasyszyn deleted the fixprometheus branch November 10, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prometheus metrics server not starting

3 participants