Skip to content

Commit

Permalink
Add unit to metric family protobuf 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 7, 2023
1 parent cef8aca commit ffcc8a6
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 61 deletions.
174 changes: 113 additions & 61 deletions prompb/io/prometheus/client/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 prompb/io/prometheus/client/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,5 @@ message MetricFamily {
string help = 2;
MetricType type = 3;
repeated Metric metric = 4 [(gogoproto.nullable) = false];
string unit = 5;
}

0 comments on commit ffcc8a6

Please sign in to comment.