diff --git a/examples/kitchen-sink.yaml b/examples/kitchen-sink.yaml index 6813c11..7ada259 100644 --- a/examples/kitchen-sink.yaml +++ b/examples/kitchen-sink.yaml @@ -133,7 +133,8 @@ meter_provider: - "service.attr1" # Configure metric producers. producers: - - opencensus: + - # Configure metric producer to be opencensus. + opencensus: - # Configure a periodic metric reader. periodic: # Configure delay interval (in milliseconds) between start of two consecutive exports. @@ -186,7 +187,8 @@ meter_provider: default_histogram_aggregation: base2_exponential_bucket_histogram # Configure metric producers. producers: - - prometheus: + - # Configure metric producer to be prometheus. + prometheus: - # Configure a periodic metric reader. periodic: # Configure exporter. diff --git a/schema/type_descriptions.yaml b/schema/type_descriptions.yaml index 47cd0c8..01131b2 100644 --- a/schema/type_descriptions.yaml +++ b/schema/type_descriptions.yaml @@ -358,8 +358,8 @@ opencensus: Configure metric producer to be opencensus. prometheus: Configure metric producer to be prometheus. path_patterns: - - .meter_provider.readers[].producers[].pull - - .meter_provider.readers[].producers[].periodic + - .meter_provider.readers[].pull.producers[] + - .meter_provider.readers[].periodic.producers[] - type: MetricExporter property_descriptions: