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

add some metrics for monitoring compactor #2548

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
Adds metrics for monitoring the number of failed/successful attempts in compaction and the amount of time it took to compact all the tables in seconds.

@sandeepsukhani sandeepsukhani force-pushed the compactor-metrics branch 2 times, most recently from 39ae984 to 8f96078 Compare August 25, 2020 09:12
@pull-request-size pull-request-size bot added size/M and removed size/S labels Aug 25, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #2548 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2548   +/-   ##
=======================================
  Coverage   62.98%   62.98%           
=======================================
  Files         168      169    +1     
  Lines       14879    14902   +23     
=======================================
+ Hits         9371     9386   +15     
- Misses       4762     4768    +6     
- Partials      746      748    +2     
Impacted Files Coverage Δ
pkg/loki/modules.go 4.16% <0.00%> (ø)
pkg/storage/stores/shipper/compactor/compactor.go 0.00% <0.00%> (ø)
pkg/storage/stores/shipper/compactor/metrics.go 0.00% <0.00%> (ø)
pkg/promtail/positions/positions.go 59.64% <0.00%> (+13.15%) ⬆️

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

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

LGTM!

@sandeepsukhani sandeepsukhani merged commit 1bba2a8 into grafana:master Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants