diff --git a/examples/kitchen-sink.yaml b/examples/kitchen-sink.yaml index d5ed506f..70df7ab9 100644 --- a/examples/kitchen-sink.yaml +++ b/examples/kitchen-sink.yaml @@ -372,6 +372,7 @@ meter_provider: # If omitted or null, all instrument names match. instrument_name: my-instrument # Configure instrument type selection criteria. + # Values include: counter, gauge, histogram, observable_counter, observable_gauge, observable_up_down_counter, up_down_counter. # If omitted or null, all instrument types match. instrument_type: histogram # Configure the instrument unit selection criteria. diff --git a/schema/meter_provider.json b/schema/meter_provider.json index a30f7134..a983b753 100644 --- a/schema/meter_provider.json +++ b/schema/meter_provider.json @@ -331,6 +331,7 @@ "type": ["string", "null"], "enum": [ "counter", + "gauge", "histogram", "observable_counter", "observable_gauge", diff --git a/schema/type_descriptions.yaml b/schema/type_descriptions.yaml index 20ff16cc..f4244c0d 100644 --- a/schema/type_descriptions.yaml +++ b/schema/type_descriptions.yaml @@ -495,6 +495,8 @@ instrument_type: > Configure instrument type selection criteria. + Values include: counter, gauge, histogram, observable_counter, observable_gauge, observable_up_down_counter, up_down_counter. + If omitted or null, all instrument types match. unit: > Configure the instrument unit selection criteria.