Skip to content

Commit

Permalink
Add unit field to MetricFamily proto message
Browse files Browse the repository at this point in the history
Signed-off-by: Arianna Vespri <[email protected]>
  • Loading branch information
vesari committed Dec 2, 2023
1 parent 62658f5 commit 003f160
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 003f160

Please sign in to comment.