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

[prometheus-json-exporter] Fix scrapeTimeout validation #4916

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

CoolDuke
Copy link

What this PR does / why we need it

The current implementation checks for the non-existent value serviceMonitor.scrapeTimeout which leads to a fallback to the default scrape timeout configured in Prometheus (usually 10s).

The PR ensures that the configured scrapeTimeout value for a target is used or if not defined the default value is used.

Which issue this PR fixes

none

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Signed-off-by: Christoph Hoth <[email protected]>
On-behalf-of: @ZEISS <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants