-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Unable to fetch prometheus c++ exporter stats on metricbeat #8291
Comments
Hi @krishan-agrawal-guavus, thank you for your feedback! We will need some more info in order to debug this issue. Could you share these?:
Best regards |
Metric beat settings:
The version is 6.4 The logs of metricbeat are attached. Here are the dump of metrics from the C++ exporter
|
Thanks for the detailed report. From what I see This error is not currently reported but I think we should change that. |
this module was refactored here: #9948, I think the problem should be gone now, please reopen if you are able to reproduce again with 7.0 (once released) |
Prometheus C++ exporter was modified to export our application stats and we planned to export these stats to Metricbeat (and to ElasticSearch) on some remote server.
My issues is that I am able to get Prometheus stats from my Kafka cluster using JMX exporter configuring the correct port details.
However, when using the cpp exporter I have not been able to get these stats into Metricbeat.
Although, when I do request using browser or curl request on configured port, then I can see those stats.
Do I need to take care of any pre-requisites while exporting Prometheus stats using this c++ exporter Or any specific conditions to be met so that metric beat can read and export these stats?
Sample exporter stats:
collector_stats{status="YYY",type="XXX"} 0.000000
The text was updated successfully, but these errors were encountered: