Skip to content

Commit c26a8ee

Browse files
authored
Merge pull request #75 from vesari/add-unit
Add unit field to MetricFamily proto message
2 parents 62658f5 + 003f160 commit c26a8ee

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

go/metrics.pb.go

Lines changed: 23 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

io/prometheus/client/metrics.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,5 @@ message MetricFamily {
150150
optional string help = 2;
151151
optional MetricType type = 3;
152152
repeated Metric metric = 4;
153+
optional string unit = 5;
153154
}

0 commit comments

Comments
 (0)