github.com/prometheus/client_golang
Go Modulesvv1.24.1Go module: github.com/prometheus/client_golang
Not recommended for new projects
No — github.com/prometheus/client_golang should not be adopted for new projects. Depended on by 19 known packages. Pulls in 67 transitive packages (at least — some of the tree is still being crawled). No license declared — you have no explicit right to use this code.
- CAdoption: grade C, Fair — worth a look.
Depended on by 19 known packages.
- AMaintenance: grade A, Excellent.
Last published 48 days ago. 14 releases in the last 2 years.
- DWeight: grade D, Poor — a real concern.
Pulls in 67 transitive packages (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding github.com/prometheus/client_golang to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Compatibility
- Go
- No constraint declared
Dependencies
Declared by github.com/prometheus/client_golang vv1.24.1. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (24)
Used by
Popular packages that depend on github.com/prometheus/client_golang.
Go module: github.com/minio/minio-go/v7
Go module: github.com/golangci/golangci-lint/v2
Go module: github.com/prometheus/common
Go module: github.com/yeya24/promlinter
Go module: github.com/google/certificate-transparency-go
Go module: github.com/google/trillian
Go module: go.etcd.io/etcd/client/v3
Go module: github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus
Go module: go.etcd.io/etcd/etcdutl/v3
Go module: go.etcd.io/etcd/server/v3
Go module: go.etcd.io/etcd/tests/v3
Go module: google.golang.org/grpc/examples
Go module: go.opentelemetry.io/otel/exporters/prometheus
Go module: github.com/hetznercloud/hcloud-go/v2
Go module: github.com/prometheus/alertmanager
Go module: github.com/prometheus/exporter-toolkit
Go module: github.com/prometheus/sigv4
Go module: github.com/hashicorp/go-metrics
Go module: github.com/hashicorp/go-metrics
Relationship graph
Dependencies (left) and dependents (right) of github.com/prometheus/client_golang.
Frequently installed together
Go module: google.golang.org/protobuf
Go module: golang.org/x/sys
Go module: github.com/prometheus/client_model
Go module: github.com/prometheus/procfs
Go module: github.com/cespare/xxhash/v2
Go module: github.com/beorn7/perks
Go module: github.com/prometheus/common
Go module: github.com/munnerz/goautoneg
Go module: golang.org/x/text
Go module: golang.org/x/net
Go module: github.com/google/uuid
Go module: github.com/golang/protobuf
Release history
13 releases in the last two years, typically about 14 days apart.
| Version | Published | License |
|---|---|---|
| v1.24.1latest | 1 month ago | — |
| v1.24.0 | 1 month ago | — |
| v1.24.0-rc.0 | 1 month ago | — |
| v1.23.2 | 1 year ago | — |
| v1.23.1 | 1 year ago | — |
| v1.23.0 | 1 year ago | — |
| v1.23.0-rc.1 | 1 year ago | — |
| v1.23.0-rc.0 | 1 year ago | — |
| v1.22.0 | 1 year ago | — |
| v1.22.0-rc.0 | 1 year ago | — |
| v1.21.1 | 1 year ago | — |
| v1.21.0 | 1 year ago | — |
| v1.21.0-rc.0 | 1 year ago | — |
| v1.20.5 | 1 year ago | — |
| v1.20.4 | 2 years ago | — |
Overview
github.com/prometheus/client_golang is an Go Modules package that go module: github.com/prometheus/client_golang. It has 19 known dependents in the graph. The latest version is v1.24.1.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/prometheus/client_golang and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Actively published to the registry.
Cons
- Large dependency tree (24 direct dependencies) increases install size and audit surface.
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use github.com/prometheus/client_golang?
No — github.com/prometheus/client_golang should not be adopted for new projects. Depended on by 19 known packages. Pulls in 67 transitive packages (at least — some of the tree is still being crawled). No license declared — you have no explicit right to use this code.
How do I install github.com/prometheus/client_golang?
Run `go get github.com/prometheus/client_golang` to add github.com/prometheus/client_golang to your Go Modules project.
How many dependencies does github.com/prometheus/client_golang have?
github.com/prometheus/client_golang declares 24 direct dependencies and pulls in 67 packages in total once its runtime tree is resolved.
What license is github.com/prometheus/client_golang released under?
No license was detected in github.com/prometheus/client_golang's metadata; review the repository before use.
How popular is github.com/prometheus/client_golang?
Go Modules does not publish download counts. Within PackageGraph's crawl, 19 known packages depend on github.com/prometheus/client_golang.
Is github.com/prometheus/client_golang still maintained?
The most recent release of github.com/prometheus/client_golang (vv1.24.1) was published 1 month ago.