Improving the programmatic use of Prometheus APIs sounds like a great idea.
Defining an OpenAPI spec and generating SDKs would bring much-needed
consistency across languages.

I’m happy to help with defining the spec and generating the code.

Let’s make it happen!
--
Kemal Akkoyun
https://kakkoyun.me



On Wed 27. Nov 2024 at 11:31, Bartłomiej Płotka <bwplo...@gmail.com> wrote:

> Hi!
>
> Given PromQL and Prometheus API adoption by many, I wonder if there's a
> room for improvement around programmatic use of our APIs. However, this
> space is a bit inconsistent and undocumented.
>
> In Prometheus client_golang we maintain API binding (experimental):
> https://pkg.go.dev/github.com/prometheus/client_golang/api - but I don't
> see any other official lib containing HTTP API bindings.
>
> For other langs I see libs in the community e.g.
> https://github.com/mckang/promql_java_client,
> https://github.com/anhdat/prometheus4j and so
> https://pypi.org/project/promql-http-api/
>
> *I wonder, is there a passion to:*
>
>
>
> *1. Document existing libraries for each language in Prometheus website?2.
> Develop one binding that rule tham all, with the use
> of https://swagger.io/specification/ <https://swagger.io/specification/>
> and generators?*
> Kind Regards
> Bartek Plotka @bwplotka
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prometheus-developers+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/prometheus-developers/ef066893-a7b8-4f5c-9597-5fde4aa2e1ebn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-developers/ef066893-a7b8-4f5c-9597-5fde4aa2e1ebn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-developers+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/prometheus-developers/CAPF-xRpnr-4ey1xmCAAGkbxTfWJvfjbJD9GJM6aga%3DfCj%2BOPow%40mail.gmail.com.

Reply via email to