Hi,
On 8/26/20 1:27 PM,
deepak...@gmail.com wrote:
> How can i pull the metrics related to a application from the server
> using Prometheus?
You would usually instrument the application itself (by using one of the
language clients such as client_python, client_golang, etc.). If this
isn't possible (e.g. because it's a proprietary application), you can
try to find other ways such as finding or writing an exporter which gets
the data via an API. If this isn't feasable either, you can try to go to
higher levels of abstractions: You can parse logs (mtail,
multilog_exporter, grok_exporter), scrape process or service details
(process_exporter, systemd_exporter, node_exporter's systemd collector)
or you can even just target the network service itself by using
blackbox_exporter.
This will give different levels of insights. Often, not all ways are
possible.
Kind regards,
Christian