1
1
# Prometheus Go client library
2
2
3
- [ ![ CircleCI] ( https://circleci.com/gh/prometheus/client_golang/tree/master .svg?style=svg )] ( https://circleci.com/gh/prometheus/client_golang/tree/master )
3
+ [ ![ CircleCI] ( https://circleci.com/gh/prometheus/client_golang/tree/main .svg?style=svg )] ( https://circleci.com/gh/prometheus/client_golang/tree/main )
4
4
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/prometheus/client_golang )] ( https://goreportcard.com/report/github.com/prometheus/client_golang )
5
5
[ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/prometheus/client_golang.svg )] ( https://pkg.go.dev/github.com/prometheus/client_golang )
6
6
[ ![ Slack] ( https://img.shields.io/badge/join%20slack-%23prometheus--client_golang-brightgreen.svg )] ( https://slack.cncf.io/ )
@@ -35,21 +35,21 @@ coexist for a while to enable a convenient transition.
35
35
[ ![ code-coverage] ( http://gocover.io/_badge/github.com/prometheus/client_golang/prometheus )] ( http://gocover.io/github.com/prometheus/client_golang/prometheus ) [ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/prometheus/client_golang/prometheus.svg )] ( https://pkg.go.dev/github.com/prometheus/client_golang/prometheus )
36
36
37
37
The
38
- [ ` prometheus ` directory] ( https://github.com/prometheus/client_golang/tree/master /prometheus )
38
+ [ ` prometheus ` directory] ( https://github.com/prometheus/client_golang/tree/main /prometheus )
39
39
contains the instrumentation library. See the
40
40
[ guide] ( https://prometheus.io/docs/guides/go-application/ ) on the Prometheus
41
41
website to learn more about instrumenting applications.
42
42
43
43
The
44
- [ ` examples ` directory] ( https://github.com/prometheus/client_golang/tree/master /examples )
44
+ [ ` examples ` directory] ( https://github.com/prometheus/client_golang/tree/main /examples )
45
45
contains simple examples of instrumented code.
46
46
47
47
## Client for the Prometheus HTTP API
48
48
49
49
[ ![ code-coverage] ( http://gocover.io/_badge/github.com/prometheus/client_golang/api/prometheus/v1 )] ( http://gocover.io/github.com/prometheus/client_golang/api/prometheus/v1 ) [ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/prometheus/client_golang/api.svg )] ( https://pkg.go.dev/github.com/prometheus/client_golang/api )
50
50
51
51
The
52
- [ ` api/prometheus ` directory] ( https://github.com/prometheus/client_golang/tree/master /api/prometheus )
52
+ [ ` api/prometheus ` directory] ( https://github.com/prometheus/client_golang/tree/main /api/prometheus )
53
53
contains the client for the
54
54
[ Prometheus HTTP API] ( http://prometheus.io/docs/querying/api/ ) . It allows you
55
55
to write Go applications that query time series data from a Prometheus
@@ -58,14 +58,14 @@ server. It is still in alpha stage.
58
58
## Where is ` model ` , ` extraction ` , and ` text ` ?
59
59
60
60
The ` model ` packages has been moved to
61
- [ ` prometheus/common/model ` ] ( https://github.com/prometheus/common/tree/master /model ) .
61
+ [ ` prometheus/common/model ` ] ( https://github.com/prometheus/common/tree/main /model ) .
62
62
63
63
The ` extraction ` and ` text ` packages are now contained in
64
- [ ` prometheus/common/expfmt ` ] ( https://github.com/prometheus/common/tree/master /expfmt ) .
64
+ [ ` prometheus/common/expfmt ` ] ( https://github.com/prometheus/common/tree/main /expfmt ) .
65
65
66
66
## Contributing and community
67
67
68
68
See the [ contributing guidelines] ( CONTRIBUTING.md ) and the
69
69
[ Community section] ( http://prometheus.io/community/ ) of the homepage.
70
70
71
- ` clint_golang ` community is also present on the CNCF Slack ` #prometheus-client_golang ` .
71
+ ` clint_golang ` community is also present on the CNCF Slack ` #prometheus-client_golang ` .
0 commit comments