Skip to content

fix scrape target for rule type == port #1865

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

Merged
merged 2 commits into from
Jun 11, 2025
Merged

fix scrape target for rule type == port #1865

merged 2 commits into from
Jun 11, 2025

Conversation

jinja2
Copy link
Collaborator

@jinja2 jinja2 commented Jun 10, 2025

Description:

Endpoint is of the form ip:port when rule type is port for k8sobserver. This PR updates 2 k8s control plane prometheus receiver configs to fix scrape targets which are incorrectly using an extra :port.

Testing:
Ran the kubernetes-apiserver receiver in a kops cluster.

@jinja2 jinja2 marked this pull request as ready for review June 10, 2025 20:20
@jinja2 jinja2 requested review from a team as code owners June 10, 2025 20:21
@jinja2 jinja2 merged commit e2e5547 into main Jun 11, 2025
142 of 143 checks passed
@jinja2 jinja2 deleted the fix-apiserver-rule branch June 11, 2025 17:36
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants