You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are in the process of implementing noobaa (non-containerized if that matters) and would like to be able to collect and graph metrics showing its usage. We found this documentation ( https://github.com/noobaa/noobaa-core/blob/master/docs/NooBaaNonContainerized/Monitoring.md ) that indicates we should be able to scrape metrics for NSFS with Prometheus, but when we point Prometheus at our server it is returning JSON formatted data which is not compatible with Prometheus. I think that I found the lines in the code where the output is getting passed through JSON.stringify so maybe this is intentional, but I'd like to find out if this is a bug and the output is supposed to be formatted for Prometheus or if the documentation is incorrect and this is supposed to be JSON data which is used by another metric system. If it is the latter then it looks like I can convert it using the json_exporter from Prometheus, but that will take some work to configure. Does anybody have a working json_exporter configuration that could be used?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We are in the process of implementing noobaa (non-containerized if that matters) and would like to be able to collect and graph metrics showing its usage. We found this documentation ( https://github.com/noobaa/noobaa-core/blob/master/docs/NooBaaNonContainerized/Monitoring.md ) that indicates we should be able to scrape metrics for NSFS with Prometheus, but when we point Prometheus at our server it is returning JSON formatted data which is not compatible with Prometheus. I think that I found the lines in the code where the output is getting passed through JSON.stringify so maybe this is intentional, but I'd like to find out if this is a bug and the output is supposed to be formatted for Prometheus or if the documentation is incorrect and this is supposed to be JSON data which is used by another metric system. If it is the latter then it looks like I can convert it using the json_exporter from Prometheus, but that will take some work to configure. Does anybody have a working json_exporter configuration that could be used?
Thanks in advance for any insight on this issue!
Beta Was this translation helpful? Give feedback.
All reactions