File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ message ChartMetric {
9191 // exportedName is the name of metrics as seen by external scrapers.
9292 required string exportedName = 6 [(gogoproto.nullable ) = false ];
9393 // visibility indicates the intended audience for this metric (INTERNAL, SUPPORT, or ESSENTIAL).
94- required string visibility = 7 [(gogoproto.nullable ) = false ];
94+ optional string visibility = 7 [(gogoproto.nullable ) = false ];
9595 // howToUse is the usage instructions for the metric.
9696 optional string howToUse = 8 [(gogoproto.nullable ) = false ];
9797 // labeledName is the name of the metric with its labels, formatted as name{label1: value1, ...}.
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ message Metadata {
128128
129129 // visibility defines the intended audience and usage level for this metric.
130130 // See MetricVisibility for details on each visibility level.
131- required MetricVisibility visibility = 10 [(gogoproto.nullable ) = false ];
131+ optional MetricVisibility visibility = 10 [(gogoproto.nullable ) = false ];
132132 // category is the dashboard category of this metric. This is
133133 // required if visibility is ESSENTIAL.
134134 required Category category = 11 [(gogoproto.nullable ) = false ];
You can’t perform that action at this time.
0 commit comments