I would like to use grafana monitor my c++ application

I would like to use grafana to monitor my application, and when my application shut down
it will automatically restart my application

Is it possible?

I recommend Easy, proactive monitoring of processes, programs, files, directories, filesystems and hosts | Monit for this purpose.

Antony.

Hi @nicochang111011,

Well, this is definitely a very interesting and unique use case. You can use this link as a reference. Though I am no expert but You will probably need a tool like Prometheus (maybe node_expoerter) to get metrics in some special way and visualize it in Grafana (as alone Grafana will not do anything unless it gets the metrics via Datasource).