{"id":13491734,"url":"https://github.com/prometheus/client_golang","last_synced_at":"2025-09-09T21:24:04.161Z","repository":{"id":6581650,"uuid":"7823926","full_name":"prometheus/client_golang","owner":"prometheus","description":"Prometheus instrumentation library for Go applications","archived":false,"fork":false,"pushed_at":"2025-05-06T21:47:25.000Z","size":4794,"stargazers_count":5641,"open_issues_count":135,"forks_count":1209,"subscribers_count":76,"default_branch":"main","last_synced_at":"2025-05-12T16:17:37.254Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/prometheus/client_golang","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prometheus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"supported_go_versions.txt","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-01-25T16:32:46.000Z","updated_at":"2025-05-12T07:21:20.000Z","dependencies_parsed_at":"2024-02-01T11:37:21.123Z","dependency_job_id":"6e6adbcb-f7b2-4fd9-a370-935116d12f1f","html_url":"https://github.com/prometheus/client_golang","commit_stats":{"total_commits":1213,"total_committers":249,"mean_commits":4.871485943775101,"dds":0.8392415498763397,"last_synced_commit":"13851e92875918e91882566432243aa007548314"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus%2Fclient_golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus%2Fclient_golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus%2Fclient_golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prometheus%2Fclient_golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prometheus","download_url":"https://codeload.github.com/prometheus/client_golang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253795634,"owners_count":21965571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T19:00:59.727Z","updated_at":"2025-09-09T21:24:04.152Z","avatar_url":"https://github.com/prometheus.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Prometheus Go client library\n\n[![CI](https://github.com/prometheus/client_golang/actions/workflows/go.yml/badge.svg)](https://github.com/prometheus/client_golang/actions/workflows/ci.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/prometheus/client_golang)](https://goreportcard.com/report/github.com/prometheus/client_golang)\n[![Go Reference](https://pkg.go.dev/badge/github.com/prometheus/client_golang.svg)](https://pkg.go.dev/github.com/prometheus/client_golang)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/prometheus/client_golang/badge)](https://securityscorecards.dev/viewer/?uri=github.com/prometheus/client_golang)\n[![Slack](https://img.shields.io/badge/join%20slack-%23prometheus--client_golang-brightgreen.svg)](https://slack.cncf.io/)\n\nThis is the [Go](http://golang.org) client library for\n[Prometheus](http://prometheus.io). It has two separate parts, one for\ninstrumenting application code, and one for creating clients that talk to the\nPrometheus HTTP API.\n\n## Version Compatibility\n\nThis library supports the two most recent major releases of Go. While it may function with older versions, we only provide fixes and support for the currently supported Go releases.\n\n\u003e [!NOTE]\n\u003e See our [Release Process](RELEASE.md#supported-go-versions) for details on compatibility and support policies.\n\n## Important note about releases and stability\n\nThis repository generally follows [Semantic\nVersioning](https://semver.org/). However, the API client in\n`prometheus/client_golang/api/…` is still considered experimental. Breaking\nchanges of the API client will _not_ trigger a new major release. The same is\ntrue for selected other new features explicitly marked as **EXPERIMENTAL** in\nCHANGELOG.md.\n\nFeatures that require breaking changes in the stable parts of the repository\nare being batched up and tracked in the [v2\nmilestone](https://github.com/prometheus/client_golang/milestone/2), but plans for further development of v2 at the moment.\n\n\u003e NOTE: The initial v2 attempt is in a [separate branch](https://github.com/prometheus/client_golang/tree/dev-v2). We also started\nexperimenting on a new `prometheus.V2.*` APIs in [the 1.x's V2 struct](https://github.com/prometheus/client_golang/blob/main/prometheus/vnext.go#L23). Help wanted!\n\n## Instrumenting applications\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/prometheus/client_golang/prometheus.svg)](https://pkg.go.dev/github.com/prometheus/client_golang/prometheus)\n\nThe\n[`prometheus` directory](https://github.com/prometheus/client_golang/tree/main/prometheus)\ncontains the instrumentation library. See the\n[guide](https://prometheus.io/docs/guides/go-application/) on the Prometheus\nwebsite to learn more about instrumenting applications.\n\nThe\n[`examples` directory](https://github.com/prometheus/client_golang/tree/main/examples)\ncontains simple examples of instrumented code.\n\n## Client for the Prometheus HTTP API\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/prometheus/client_golang/api.svg)](https://pkg.go.dev/github.com/prometheus/client_golang/api)\n\nThe\n[`api/prometheus` directory](https://github.com/prometheus/client_golang/tree/main/api/prometheus)\ncontains the client for the\n[Prometheus HTTP API](http://prometheus.io/docs/querying/api/). It allows you\nto write Go applications that query time series data from a Prometheus\nserver. It is still in alpha stage.\n\n## Where is `model`, `extraction`, and `text`?\n\nThe `model` packages has been moved to\n[`prometheus/common/model`](https://github.com/prometheus/common/tree/main/model).\n\nThe `extraction` and `text` packages are now contained in\n[`prometheus/common/expfmt`](https://github.com/prometheus/common/tree/main/expfmt).\n\n## Contributing and community\n\nSee the [contributing guidelines](CONTRIBUTING.md) and the\n[Community section](http://prometheus.io/community/) of the homepage.\n\n`client_golang` community is also present on the CNCF Slack `#prometheus-client_golang`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprometheus%2Fclient_golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprometheus%2Fclient_golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprometheus%2Fclient_golang/lists"}