This repository has been archived by the owner on Jul 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Create Prometheus Data Model #107
Labels
good first issue
Good for newcomers
Comments
This was referenced Nov 10, 2020
Closed
Apart from working on ticket zio/zio#4384 I would like to give this a go in the hackathon. |
The model needs to able to output the write004 TextFormat which is what the Prometheus Server interprets in order to create its graphs. |
@atooni Great! |
Specification of the text format : https://prometheus.io/docs/instrumenting/exposition_formats/ |
I propose to close this as the PR has been merged |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We want ZIO ZMX to support Promtheus as well as statd. We currently support a version of this today, see the
PrometheusSpec.scala
file in thetest
folder, but it relies on a dependency on the Prometheus client which we do not want to have. Therefore, we need to do our own implementation of the Prometheus protocol.The first step to do this is to create a data model for the objects within the Prometheus data model, for example the
Counter
,Histogram
, andCollectorRegistry
. At this point this would be a pure data model that would describe the information we would need to interact with Prometheus but would not contain any of the actual logic for converting this data into the format expected by Prometheus.The text was updated successfully, but these errors were encountered: