ExpediaGroup / cyclotron

A web platform for constructing dashboards.
https://www.cyclotron.io/
MIT License
1.56k stars 113 forks source link

[question] on ingesting and visualizing Prometheus metrics #78

Closed ghost closed 2 years ago

ghost commented 2 years ago

Excuse my ignorance in this, I'm not sure because this might go beyond what I as a user need to know about Cyclotron. But you might help so thanks in advance.

I have a Prometheus exporter which generates metrics like the following:

(#)HELP process_cpu_user_seconds_total Total user CPU time spent in seconds. (#)TYPE process_cpu_user_seconds_total counter process_cpu_user_seconds_total 0.6868070000000001

(#)HELP process_cpu_system_seconds_total Total system CPU time spent in seconds. (#)TYPE process_cpu_system_seconds_total counter process_cpu_system_seconds_total 0.060002

(#)HELP process_cpu_seconds_total Total user and system CPU time spent in seconds. (#)TYPE process_cpu_seconds_total counter process_cpu_seconds_total 0.746809

(#)HELP process_start_time_seconds Start time of the process since unix epoch in seconds. (#)TYPE process_start_time_seconds gauge process_start_time_seconds 1648551285 (#)and so on ...

So having this, I couldn't directly ingest as a Prometheus datasource

image

So I'm having an error ERROR: Prometheus Data Source "fastify_metrics_JSON" Failed app.common.js:7128:28. Do I need Prometheus again to be able to ingest these metrics in Cyclotron ??

Thanks a lot !