File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- ---
2
1
name : golangci-lint
3
2
on :
4
3
push :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
9
9
github.com/golang/protobuf v1.5.2
10
10
github.com/json-iterator/go v1.1.12
11
11
github.com/prometheus/client_model v0.2.1-0.20210624201024-61b6c1aac064
12
- github.com/prometheus/common v0.34 .0
12
+ github.com/prometheus/common v0.35 .0
13
13
github.com/prometheus/procfs v0.7.3
14
14
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a
15
15
google.golang.org/protobuf v1.28.0
Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:
137
137
github.com/prometheus/client_model v0.2.0 /go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA =
138
138
github.com/prometheus/client_model v0.2.1-0.20210624201024-61b6c1aac064 h1:Kyx21CLOfWDA4e2TcOcupRl2g/Bmddu0AL0hR1BldEw =
139
139
github.com/prometheus/client_model v0.2.1-0.20210624201024-61b6c1aac064 /go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w =
140
- github.com/prometheus/common v0.34 .0 h1:RBmGO9d/FVjqHT0yUGQwBJhkwKV+wPCn7KGpvfab0uE =
141
- github.com/prometheus/common v0.34 .0 /go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE =
140
+ github.com/prometheus/common v0.35 .0 h1:Eyr+Pw2VymWejHqCugNaQXkAi6KayVNxaHeu6khmFBE =
141
+ github.com/prometheus/common v0.35 .0 /go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA =
142
142
github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU =
143
143
github.com/prometheus/procfs v0.7.3 /go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA =
144
144
github.com/rogpeppe/go-internal v1.3.0 /go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4 =
Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ func (p *Pusher) Collector(c prometheus.Collector) *Pusher {
168
168
return p
169
169
}
170
170
171
+ // Error returns the error that was encountered.
172
+ func (p * Pusher ) Error () error {
173
+ return p .error
174
+ }
175
+
171
176
// Grouping adds a label pair to the grouping key of the Pusher, replacing any
172
177
// previously added label pair with the same label name. Note that setting any
173
178
// labels in the grouping key that are already contained in the metrics to push
You can’t perform that action at this time.
0 commit comments