expfmt: default to allow-utf-8 escaping for OpenMetrics 2.0 (#1008) OpenMetrics 2.0 supports UTF-8 names natively and defines no escaping parameter, so a scraper negotiating it without one should not get names escaped with model.NameEscapingScheme. An explicit escaping parameter still wins. The escaping parameter is now also taken only from the Accept clause that matched, so a value on a skipped clause no longer leaks into a later match. Part of prometheus/client_golang#2149 Signed-off-by: KR Ravindra <42912207+KR-Ravindra@users.noreply.github.com>
This repository contains Go libraries that are shared across Prometheus components and libraries. They are considered internal to Prometheus, without any stability guarantees for external usage.
context.Context