Skip to content

Commit

Permalink
Merge pull request #75 from vesari/add-unit
Browse files Browse the repository at this point in the history
Add unit field to MetricFamily proto message
  • Loading branch information
beorn7 authored Dec 5, 2023
2 parents 62658f5 + 003f160 commit c26a8ee
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
37 changes: 23 additions & 14 deletions go/metrics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions io/prometheus/client/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,5 @@ message MetricFamily {
optional string help = 2;
optional MetricType type = 3;
repeated Metric metric = 4;
optional string unit = 5;
}

0 comments on commit c26a8ee

Please sign in to comment.