Skip to content
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

Feat/Add version metrics #2344

Merged
merged 3 commits into from
May 19, 2023

Conversation

notimetoname
Copy link
Contributor

Closes #2326. Gonna look smth like that:

# HELP neofs_node_build_info 
# TYPE neofs_node_build_info gauge
neofs_node_build_info{version="v0.36.1-32-gb20018c6-dirty"} 1

@roman-khimov, @cthulhu-rider, @532910, @aprasolova, @anyone_looking_at_metrics, please, look at the first commit. Something was certainly wrong, pay attention to it and make me know if some SW depends on it and we are not able to make such changes OR such changes must be synced before the merge.

@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Merging #2344 (f864373) into master (4d48ec9) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head f864373 differs from pull request most recent head 045a284. Consider uploading reports for the commit 045a284 to get more accurate results

@@            Coverage Diff             @@
##           master    #2344      +/-   ##
==========================================
- Coverage   29.88%   29.88%   -0.01%     
==========================================
  Files         398      398              
  Lines       29806    29806              
==========================================
- Hits         8909     8907       -2     
- Misses      20180    20182       +2     
  Partials      717      717              
Impacted Files Coverage Δ
cmd/neofs-node/config.go 0.00% <0.00%> (ø)
pkg/innerring/innerring.go 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

pkg/metrics/innerring.go Outdated Show resolved Hide resolved
pkg/metrics/build_info.go Outdated Show resolved Hide resolved
Copy link
Contributor

@cthulhu-rider cthulhu-rider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out-of-context, code ok

pkg/metrics/innerring.go Outdated Show resolved Hide resolved
pkg/metrics/metrics.go Outdated Show resolved Hide resolved
- use a separate `neofs_ir` namespace for IR apps instead of `neofs_node`;
- move `epoch` metrics to a `state` subsystem instead of `object`;
- SN's epoch metrics do not have "inner-ring" help message now.

The old ones are deprecated and will be removed when the next minor release
comes out.

Signed-off-by: Pavel Karpy <carpawell@morphbits.io>
Signed-off-by: Pavel Karpy <carpawell@morphbits.io>
Forgotten but necessary renaming.

Signed-off-by: Pavel Karpy <carpawell@morphbits.io>
@roman-khimov roman-khimov merged commit a65293d into nspcc-dev:master May 19, 2023
@notimetoname notimetoname deleted the feat/add-version-metrics branch May 19, 2023 13:52
@vvarg229 vvarg229 mentioned this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add version metric
3 participants