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

Change scrape_interval in metrics scraping example #1231

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Conversation

feorlen
Copy link
Collaborator

@feorlen feorlen commented May 30, 2024

The examples show 15s, which is too short for a typical deployment. 60s is recommended. Also note that this value may need to be increased if there are too many metrics to collect in the specified amount of time. Each scraping operation should complete before the next begins.

Staged
https://192.241.195.202:9000/staging/scrape_interval/linux/operations/monitoring/collect-minio-metrics-using-prometheus.html#generate-the-scrape-configuration

The examples show `15s`, which is too short for a typical deployment. `60s` is recommended. Also note that this value may need to be increased if there are too many metrics to collect in the specified amount of time. Each scraping operation should complete before the next begins.
@feorlen
Copy link
Collaborator Author

feorlen commented May 30, 2024

This value is in the section about configuring an alert rule. Is 5s correct here?

Create alert rule section, showing scrape_interval of 5 seconds

@feorlen feorlen requested a review from mjkota May 30, 2024 14:39
@ravindk89
Copy link
Collaborator

I think that was intended to show where in the file it should go, so maybe we can just drop those two lines entirely. We state it goes into the Prometheus configuration already.

Copy link
Collaborator

@ravindk89 ravindk89 left a comment

Choose a reason for hiding this comment

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

LGTM mod nit

@feorlen feorlen merged commit b422c71 into main Jun 5, 2024
@feorlen feorlen deleted the scrape_interval branch June 5, 2024 22:49
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.

None yet

2 participants