Skip to content

Commit

Permalink
fix test, and remove maxProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed May 21, 2024
1 parent 2e05e27 commit 80f8041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ meter_provider:
excluded:
- "service.attr1"
# Configure metric producers.
producers:
# Configure metric producer to be opencensus
- opencensus: {}
producers:
# Configure metric producer to be opencensus
- opencensus: {}
# Configure a periodic metric reader.
- periodic:
# Configure delay interval (in milliseconds) between start of two consecutive exports.
Expand Down Expand Up @@ -208,9 +208,9 @@ meter_provider:
# Environment variable: OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION
default_histogram_aggregation: base2_exponential_bucket_histogram
# Configure metric producers.
producers:
# Configure metric producer to be prometheus
- prometheus: {}
producers:
# Configure metric producer to be prometheus
- prometheus: {}
# Configure a periodic metric reader.
- periodic:
# Configure exporter.
Expand Down
1 change: 0 additions & 1 deletion schema/meter_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 1,
"properties": {
"periodic": {
"$ref": "#/$defs/PeriodicMetricReader"
Expand Down

0 comments on commit 80f8041

Please sign in to comment.