Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPromtool 2.3.2 fails if adding sample_limit in "global" section #4466
Comments
This comment has been minimized.
This comment has been minimized.
|
This is working as expected: there's no global https://prometheus.io/docs/prometheus/latest/configuration/configuration/#configuration-file I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search. |
simonpasquier
closed this
Aug 6, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
identificator1 commentedAug 6, 2018
promtool, version 2.3.2
If to add sample_limit in global section
it fails:
promtool we get an error: field sample_limit not found in type config.plainRunning promtheus:
load configuration (--config.file=/etc/prometheus/prometheus.yml): parsing YAML file /etc/prometheus/prometheus.yml: unknown fields in global config: sample_limit"If to add in scrape_configs section in job - works fine.