prometheus / common

Go libraries shared across Prometheus components and libraries.
Apache License 2.0
259 stars 306 forks source link

Remove deprecated version function #591

Closed SuperQ closed 3 months ago

SuperQ commented 4 months ago

Remove deprecated version.NewCollector function. This has been moved to github.com/prometheus/client_golang. This fixes the circular dependency between the two repos.

SuperQ commented 3 months ago

I'm thinking about cutting v0.50.0 with just this change, so it's only a small step for updating client_golang to break the dependency loop.

SuperQ commented 3 months ago

@bboreham The link is in the deprecation notice: github.com/prometheus/client_golang/prometheus/collectors/version.NewCollector