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

question about use prometheus to measure each user access if user more than 100k? #4965

Closed
aximo opened this Issue Dec 6, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@aximo
Copy link

aximo commented Dec 6, 2018

it not a bug,but an use question, sorry for submitting it here as google group is not acess in china.

Eg, I want to use metrics user acess via http_acess_count{uid="001"} =1

So if the user count is 100k and all access our system, that means there will be 100k line(at least) in each scrape. the response body will so big.

maybe we can compress the response, but any supported in prometheus server?

and , I don't think this solution is real effective?

So, any comments about this case. how can i measure each user access by it?

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Dec 6, 2018

That's not really what Prometheus is meant for. See https://prometheus.io/docs/practices/instrumentation/#do-not-overuse-labels

@aximo

This comment has been minimized.

Copy link
Author

aximo commented Dec 6, 2018

@simonpasquier get it ,thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.