I have just released v1.5.0
<https://github.com/prometheus/client_golang/releases/tag/v1.5.0> of
the Prometheus
API and instrumentation client for Go
<https://github.com/prometheus/client_golang>.

The API client now supports the new Prometheus metadata endpoint
<https://prometheus.io/docs/prometheus/latest/querying/api/#querying-metric-metadata>
.

The promauto package now also supports local registries via a “metric
factory
<https://pkg.go.dev/github.com/prometheus/client_golang/prometheus/promauto?tab=doc#Factory>”
(pardon the naming :o) creating metrics already registered with a given
registry. The [package documentation] (
https://pkg.go.dev/github.com/prometheus/client_golang/prometheus/promauto?tab=doc)
provides more details.

Special thanks to @gotjosh <https://github.com/gotjosh> for implementing
the metadata support in the API client and to @bwplotka
<https://github.com/bwplotka> for inspiration for and insisting on the
“metric factory” in promauto.

Enjoy!
1.5.0 / 2020-03-03

   - [FEATURE] promauto: Add a factory to allow automatic registration with
   a local registry. #713
   - [FEATURE] promauto: Add NewUntypedFunc. #713
   - [FEATURE] API client: Support new metadata endpoint. #718

-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in

-- 
You received this message because you are subscribed to the Google Groups 
"prometheus-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-announce+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/prometheus-announce/CAMrVKsyMAxsp7AK03G9yQkT%2BOOuhdsc2GJLd9gdVmjtuW4NMhw%40mail.gmail.com.

Reply via email to