Skip to content

Commit 84fcaff

Browse files
committed
Merge branch 'master' into sparsehistogram
2 parents 9ef5f90 + 2261d5c commit 84fcaff

File tree

7 files changed

+377
-16
lines changed

7 files changed

+377
-16
lines changed

Makefile.common

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ endif
118118
%: common-% ;
119119

120120
.PHONY: common-all
121-
common-all: precheck style check_license lint unused build test
121+
common-all: precheck style check_license lint yamllint unused build test
122122

123123
.PHONY: common-style
124124
common-style:
@@ -198,6 +198,15 @@ else
198198
endif
199199
endif
200200

201+
.PHONY: common-yamllint
202+
common-yamllint:
203+
@echo ">> running yamllint on all YAML files in the repository"
204+
ifeq (, $(shell which yamllint))
205+
@echo "yamllint not installed so skipping"
206+
else
207+
yamllint .
208+
endif
209+
201210
# For backward-compatibility.
202211
.PHONY: common-staticcheck
203212
common-staticcheck: lint

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Prometheus Go client library
22

3-
[![Build Status](https://travis-ci.org/prometheus/client_golang.svg?branch=master)](https://travis-ci.org/prometheus/client_golang)
3+
[![CircleCI](https://circleci.com/gh/prometheus/client_golang/tree/master.svg?style=svg)](https://circleci.com/gh/prometheus/client_golang/tree/master)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/prometheus/client_golang)](https://goreportcard.com/report/github.com/prometheus/client_golang)
5-
[![go-doc](https://godoc.org/github.com/prometheus/client_golang?status.svg)](https://godoc.org/github.com/prometheus/client_golang)
5+
[![Go Reference](https://pkg.go.dev/badge/github.com/prometheus/client_golang.svg)](https://pkg.go.dev/github.com/prometheus/client_golang)
66

77
This is the [Go](http://golang.org) client library for
88
[Prometheus](http://prometheus.io). It has two separate parts, one for
@@ -31,7 +31,7 @@ coexist for a while to enable a convenient transition.
3131

3232
## Instrumenting applications
3333

34-
[![code-coverage](http://gocover.io/_badge/github.com/prometheus/client_golang/prometheus)](http://gocover.io/github.com/prometheus/client_golang/prometheus) [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus)
34+
[![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)
3535

3636
The
3737
[`prometheus` directory](https://github.com/prometheus/client_golang/tree/master/prometheus)
@@ -45,7 +45,7 @@ contains simple examples of instrumented code.
4545

4646
## Client for the Prometheus HTTP API
4747

48-
[![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-doc](https://godoc.org/github.com/prometheus/client_golang/api/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/api)
48+
[![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)
4949

5050
The
5151
[`api/prometheus` directory](https://github.com/prometheus/client_golang/tree/master/api/prometheus)

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ require (
66
github.com/golang/protobuf v1.4.3
77
github.com/json-iterator/go v1.1.11
88
github.com/prometheus/client_model v0.2.1-0.20210624201024-61b6c1aac064
9-
github.com/prometheus/common v0.26.0
9+
github.com/prometheus/common v0.29.0
1010
github.com/prometheus/procfs v0.6.0
1111
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40
12-
golang.org/x/text v0.3.2 // indirect
13-
google.golang.org/protobuf v1.26.0-rc.1 // indirect
1412
)
1513

1614
go 1.13

0 commit comments

Comments
 (0)