metrics icon indicating copy to clipboard operation
metrics copied to clipboard

prometheus support?

Open djs55 opened this issue 7 years ago • 4 comments

prometheus is a very popular time-series data storage and querying system. It goes well with dashboards like grafana, making pretty pictures like this:

pretty dashboard

We've got an OCaml implementation of the prometheus metrics gathering format, thanks to @talex5: https://github.com/mirage/prometheus which I've had success with integrating with the ocaml-qcow code: https://github.com/mirage/ocaml-qcow/issues/99

It would be nice if we could easily integrate with existing prometheus infrastructure (and not have to duplicate it)

djs55 avatar Nov 28 '18 16:11 djs55

yes, I agree. In #28 I developed an influx reporter, which I use in a grafana setup as well:

grafana

similar to that, but slightly different would be a prometheus reporter. another useful reporter would be SNMP imho.

hannesm avatar Nov 28 '18 16:11 hannesm

@CraigFe or @icristescu would you be interested to look at this feature request?

samoht avatar May 13 '20 10:05 samoht

@MagnusS was interested as well -- in influx, a metrics source (e.g. gc) is a measurement, and tags contain the static (indexed) information such as unikernel name / application name. it is not clear to me how to map this information to prometheus.

hannesm avatar May 13 '20 10:05 hannesm

I might be worth taking a look at the successor of the prometheus format, which seems to be the de-facto format for metrics in the cloud: https://github.com/OpenObservability/OpenMetrics/blob/master/specification/OpenMetrics.md I would need a new implementation but it shouldn't be hard to verify as conformance tests seem to be available in the repository.

undu avatar Dec 09 '20 16:12 undu