new to prometheus - is it possible to export inbuilt metrics along with additional custom metrics?

18 views
Skip to first unread message

Elangovan S

unread,
May 18, 2020, 2:18:08 PM5/18/20
to Prometheus Developers
Hello Everyone,

I am new to Prometheus, as I am learning I managed to write a custom library to export our metrics using the C++ library. But when I ran the application it only exposes one metrics. Will it be possible to expose inbuilt and custom metrics via the same /Metrics handler?

Thanks in advance!
-elango

Bjoern Rabenstein

unread,
May 22, 2020, 10:44:37 AM5/22/20
to Elangovan S, Prometheus Developers
On 18.05.20 11:18, Elangovan S wrote:
>
> I am new to Prometheus, as I am learning I managed to write a custom library to
> export our metrics using the C++ library. But when I ran the application it
> only exposes one metrics. Will it be possible to expose inbuilt and custom
> metrics via the same /Metrics handler?

Yes, that's the whole point of an instrumentation library. You should
find instructions in the documentation of the library you are using.

If you want to find other users of the library to discuss questions
with them, the prometheus-users[1] mailing list might be a better
fit. This list (prometheus developers) is meant for the development of
the Prometheus components themselves rather than how to use them in
non-Prometheus code.

[1]: https://groups.google.com/forum/#!forum/prometheus-users

--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in
Reply all
Reply to author
Forward
0 new messages