Sourced from github.com/prometheus/client_golang's releases.
v1.21.0 / 2025-02-19
:warning: This release contains potential breaking change if you upgrade
github.com/prometheus/common
to 0.62+ together with client_golang (and depend on the strict, legacy validation for the label names). New common version changesmodel.NameValidationScheme
global variable, which relaxes the validation of label names and metric name, allowing all UTF-8 characters. Typically, this should not break any user, unless your test or usage expects strict certain names to panic/fail on client_golang metric registration, gathering or scrape. In case of problems changemodel.NameValidationScheme
to oldmodel.LegacyValidation
value in your projectinit
function. :warning:
- [BUGFIX] gocollector: Fix help message for runtime/metric metrics. #1583
- [BUGFIX] prometheus: Fix
Desc.String()
method for no labels case. #1687- [PERF] prometheus: Optimize popular
prometheus.BuildFQName
function; now up to 30% faster. #1665- [PERF] prometheus: Optimize
Inc
,Add
andObserve
cumulative metrics; now up to 50% faster under high concurrent contention. #1661- [CHANGE] Upgrade prometheus/common to 0.62.0 which changes
model.NameValidationScheme
global variable. #1712- [CHANGE] Add support for Go 1.23. #1602
- [FEATURE] process_collector: Add support for Darwin systems. #1600 #1616 #1625 #1675 #1715
- [FEATURE] api: Add ability to invoke
CloseIdleConnections
on api.Client usingapi.Client.(CloseIdler).CloseIdleConnections()
casting. #1513- [FEATURE] promhttp: Add
promhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples
option to create OpenMetrics _created lines. Not recommended unless you want to use opt-in Created Timestamp feature. Community works on OpenMetrics 2.0 format that should make those lines obsolete (they increase cardinality significantly). #1408- [FEATURE] prometheus: Add
NewConstNativeHistogram
function. #1654
... (truncated)
Sourced from github.com/prometheus/client_golang's changelog.
1.21.0 / 2025-02-17
:warning: This release contains potential breaking change if you upgrade
github.com/prometheus/common
to 0.62+ together with client_golang. :warning:New common version changes
model.NameValidationScheme
global variable, which relaxes the validation of label names and metric name, allowing all UTF-8 characters. Typically, this should not break any user, unless your test or usage expects strict certain names to panic/fail on client_golang metric registration, gathering or scrape. In case of problems changemodel.NameValidationScheme
to oldmodel.LegacyValidation
value in your projectinit
function.
- [BUGFIX] gocollector: Fix help message for runtime/metric metrics. #1583
- [BUGFIX] prometheus: Fix
Desc.String()
method for no labels case. #1687- [ENHANCEMENT] prometheus: Optimize popular
prometheus.BuildFQName
function; now up to 30% faster. #1665- [ENHANCEMENT] prometheus: Optimize
Inc
,Add
andObserve
cumulative metrics; now up to 50% faster under high concurrent contention. #1661- [CHANGE] Upgrade prometheus/common to 0.62.0 which changes
model.NameValidationScheme
global variable. #1712- [CHANGE] Add support for Go 1.23. #1602
- [FEATURE] process_collector: Add support for Darwin systems. #1600 #1616 #1625 #1675 #1715
- [FEATURE] api: Add ability to invoke
CloseIdleConnections
on api.Client usingapi.Client.(CloseIdler).CloseIdleConnections()
casting. #1513- [FEATURE] promhttp: Add
promhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamples
option to create OpenMetrics _created lines. Not recommended unless you want to use opt-in Created Timestamp feature. Community works on OpenMetrics 2.0 format that should make those lines obsolete (they increase cardinality significantly). #1408- [FEATURE] prometheus: Add
NewConstNativeHistogram
function. #1654
eaf03ef
Cut 1.21.0 (#1737)f1f89dc
Cut 1.21.0-rc.0 (#1718)c923f7c
Revert "ci: daggerize test and lint pipelines (#1534)"
(#1717)1bcda80
process collector: Fixed pedantic registry failures on darwin with cgo.
(#1715)038b37a
tutorials/whatsup: Updated deps (#1716)56a2431
docs: Add RELEASE.md for the release process (#1690)cbd9526
Merge pull request #1713
from prometheus/dependabot/go_modules/tutorials/what...80b5a2a
build(deps): bump golang.org/x/net in /tutorials/whatsup1a822a8
Upgrade to prometheus/common 0.62.0 with breaking change (#1712)7b39d01
Update common Prometheus files (#1708)