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 upDuplicate data collected #5489
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for your report. It looks as if this is actually a question about usage and not development. To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list. Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future. |
simonpasquier
closed this
Apr 19, 2019
This comment has been minimized.
This comment has been minimized.
|
Ok, I have solved this problem, I set the multi-process variable whose scope is app level. |
SteveYf commentedApr 19, 2019
•
edited by simonpasquier
Hey, Dear developer,I was in trouble when I used prometheus to monitor the many apis.
prometheus version: 2.9.0
export : prometheus_client
I have a server with four services running on it, and each service is independent. I need to monitor these four services at the same time.
Scrape_configs configuration in prometheus.yml:
I am configured to run normally and collect metrics, but the metrics collected are four, no matter what type of metrics, this situation is very bad for me, because I want to use the aggregation operation to process the data.
I read the relevant documents, as follows:
What is the so-called advanced configuration? Is it possible to monitor multiple services on a single machine? And the data is not repeated.
I also checked the configuration file dynamic management, I don't think it can solve this problem.
What I expected was to monitor multiple services on a single machine separately, and the metrics obtained were independent of each other.
Is my configuration file wrong? Or is the current prometheus temporarily not supporting this feature?
thank you very much for your help.
Steve Bailey.