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

metrics: Configurable conduit metrics prefix. #1353

Merged
merged 7 commits into from
Dec 5, 2022

Conversation

winder
Copy link
Contributor

@winder winder commented Nov 30, 2022

Summary

Add a configuration to the metrics prefix so that conduit can be different than Indexer.

Test Plan

@winder winder requested a review from shiqizng November 30, 2022 15:29
@winder winder added the Enhancement New feature or request label Nov 30, 2022
@winder winder changed the title Configurable metrics prefix. metrics: Configurable conduit metrics prefix. Nov 30, 2022
@winder winder marked this pull request as ready for review November 30, 2022 17:10
@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Merging #1353 (c0b51dd) into develop (7d7f31e) will increase coverage by 0.38%.
The diff coverage is 90.00%.

@@             Coverage Diff             @@
##           develop    #1353      +/-   ##
===========================================
+ Coverage    62.78%   63.16%   +0.38%     
===========================================
  Files           76       76              
  Lines        10377    10480     +103     
===========================================
+ Hits          6515     6620     +105     
+ Misses        3303     3301       -2     
  Partials       559      559              
Impacted Files Coverage Δ
conduit/pipeline/pipeline.go 66.66% <53.84%> (+0.99%) ⬆️
util/metrics/metrics.go 100.00% <100.00%> (ø)

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

util/metrics/metrics.go Outdated Show resolved Hide resolved
util/metrics/metrics.go Show resolved Hide resolved
Copy link
Contributor

@Eric-Warehime Eric-Warehime left a comment

Choose a reason for hiding this comment

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

LGTM after you fix typo and resolve merge conflicts.

@winder winder force-pushed the will/configurable-prometheus-prefix branch from 07163ea to 3681d65 Compare December 2, 2022 21:00
@winder winder force-pushed the will/configurable-prometheus-prefix branch from a8e8cb7 to 3342430 Compare December 5, 2022 18:11
@winder winder merged commit 15bea7e into algorand:develop Dec 5, 2022
@winder winder deleted the will/configurable-prometheus-prefix branch December 5, 2022 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants