Skip to content

Conversation

@nakabonne
Copy link
Member

What this PR does / why we need it:
Until now, Prometheus tried to scrape all targets that have a source label "prometheus.io/scrape: true". It was a waste.

This PR changes the Prometheus setting to scrape only kube-state-metrics and node-exporter that had been tried to fetch via kubernetes-service-endpoints.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 32.07%. This pull request does not change code coverage.

@nghialv
Copy link
Member

nghialv commented Jul 12, 2021

Nice.
/lgtm

@khanhtc1202
Copy link
Member

Nice catch 👍
/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by khanhtc1202.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants