SK-289 // feat: scrape cadvisor metrics - #273
Merged
Merged
Conversation
Contributor
Author
drmorr0
force-pushed
the
drmorr/metrics-scraper
branch
from
September 9, 2026 05:15
b510464 to
796dbf7
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #273 +/- ##
==========================================
+ Coverage 79.38% 79.53% +0.14%
==========================================
Files 62 65 +3
Lines 4021 4172 +151
==========================================
+ Hits 3192 3318 +126
- Misses 829 854 +25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
drmorr0
force-pushed
the
drmorr/metrics-scraper
branch
2 times, most recently
from
September 11, 2026 16:19
9a94e59 to
6b40061
Compare
drmorr0
force-pushed
the
drmorr/metrics-scraper
branch
from
September 11, 2026 16:47
6b40061 to
712dbcb
Compare
This file contains hidden or 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
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.




Description and Rationale
How
AbortOnDropHandler) automatically cleans up the scraper. The MetricsScraper struct is supposedly generic-enough to handle other custom metrics in the future.Test Steps
Other Notes
Metrics endpoints are secured over TLS which means we need to add a TLS feature to
reqwest; usingdefault-tlsorrustlspulls in the newaws-lc-rsbackend, whereas some other stuff we're using depends on theringbackend, and then it conflicts and panics. I think when we update all our dependencies maybe this problem will go away, but for right now I'm having to set the-no-providerfeature forreqwestand then (in our tests) manually set the ring backend which is annoying.the
danger_accept_invalid_certsthing is because kubelet uses a (different) self-signed cert for each node, so we just have to live with it. It's fine, this is what prometheus-collector does too, what could possibly go wrong.fixed a random bug in the makefile to allow commands like
ARTIFACTS=sk-tracer maketo actually work.I certify that this PR does not contain any code that has been generated with GitHub Copilot or any other AI-based code generation tool, in accordance with this project's policies.