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

How to use the Prometheus to monitor existing projects? #1584

Closed
guxia opened this Issue Apr 25, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@guxia
Copy link

guxia commented Apr 25, 2016

If I want to monitor some of the errors 、page views、
access errors、the amount online users、the amount of access failure or some other on an existing project of java。Need i to add the corresponding code in an existing project line by line?Or how else?

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Apr 25, 2016

Essentially yes.

If the project already exports those statistics in other ways you can also write an exporter if you don't want to touch the code.

https://prometheus.io/docs/instrumenting/exporters/

@fabxc fabxc added the question label Apr 25, 2016

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Apr 25, 2016

Depending on your existing project, the https://github.com/prometheus/jmx_exporter might also be interesting here.

@grobie grobie closed this Apr 25, 2016

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 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 lock bot locked and limited conversation to collaborators Mar 24, 2019

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