-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CAD-2324 node: trace "nodeStartTime" as a counter #2118
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deepfire
requested review from
dcoutts,
erikd,
intricate,
Jimbo4350,
mrBliss and
newhoggy
as code owners
November 24, 2020 11:05
This was referenced Nov 24, 2020
And so, this fixes #2113 |
newhoggy
approved these changes
Nov 24, 2020
Jimbo4350
approved these changes
Nov 24, 2020
bors r+ |
iohk-bors bot
added a commit
that referenced
this pull request
Nov 24, 2020
2118: CAD-2324 node: trace "nodeStartTime" as a counter r=deepfire a=deepfire This adds the `nodeStartTime` metric to the Prometheus export: ``` $ curl -s http://localhost:12798/metrics/ | grep nodeStart cardano_node_metrics_nodeStartTime_int 1606215710 ``` Co-authored-by: Kosyrev Serge <serge.kosyrev@iohk.io>
Timed out. |
bors r+ |
intricate
approved these changes
Nov 24, 2020
Build succeeded: |
Is this a ctime value? How do you turn this is into something useful in Grafana. Previously it was a doddle to show the uptime in hours, now I'm scratching my head... EDITDo this to get it back in Grafana as hours since started: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the
nodeStartTime
metric to the Prometheus export: