-
Notifications
You must be signed in to change notification settings - Fork 763
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
The feature Adding new metrics
exists in README but not implemented
#1069
Comments
I also second this. |
I also third this :) Is the answer is :
|
@fguiet I'm currently using this to good effect. |
Thank you @jamius19 , I will give it a try :) |
I am also looking for way to implement custom metrics since the old way was deprecated. |
Any plans on providing custom metrics at all?
I don't like to say it but it seems like anyone with custom requirements is shied away from the project. |
What did you do?
Read the README about how to add a new metric.
What did you expect to see?
Find the method about how to add a new metric.
What did you see instead? Under which circumstances?
In the README:
And I cannot find any way to add this Python code. And checked the code, there is no there method to add new metric except
Adding new metrics via a config file
.Check the commit, the document comes from the very early commit 2a08787#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R31 looks it means I need to create a new view in PostgreSQL using PL/Python, then add a new metric type in
metricMaps
and recompile postgres_exporter.I think this is a document mistake.
The text was updated successfully, but these errors were encountered: