[prometheus-users] Re: Prometheus CustomCollector

2022-06-23 Thread Siddhant Gupta
Thank you for the detailed answer, specially on point 2. This clarifies the use case of custom collectors. Based on your answer, I am convinced that a custom collector is what I should be using. The linux app is immutable but maintains and provides an interface to poll metrics. Its like using to

[prometheus-users] Prometheus CustomCollector

2022-06-22 Thread Siddhant Gupta
Hi, I am new to Prometheus and I am trying to write a prometheus exporter to collect some custom metrics from a linux app. The exporter needs to execute a binary to get the required metrics. I saw some simple examples and I am able to get the exporter working. Now I want to make the exporter re