diff --git a/examples/anchors.yaml b/examples/anchors.yaml index bcb6021..f83e33b 100644 --- a/examples/anchors.yaml +++ b/examples/anchors.yaml @@ -13,7 +13,7 @@ exporters: compression: gzip timeout: 10000 retry: - enabled: true + disabled: false logger_provider: processors: diff --git a/examples/kitchen-sink.yaml b/examples/kitchen-sink.yaml index 5e8e5fd..8f08e24 100644 --- a/examples/kitchen-sink.yaml +++ b/examples/kitchen-sink.yaml @@ -91,10 +91,10 @@ logger_provider: # # Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_LOGS_INSECURE insecure: false - # Configure retry policy + # Configure retry policy. retry: - # Configure retry enabled - enabled: true + # Configure retry disabled. + disabled: false # Configure a simple span processor. - simple: # Configure exporter. @@ -203,10 +203,10 @@ meter_provider: # # Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_METRICS_INSECURE insecure: false - # Configure retry policy + # Configure retry policy. retry: - # Configure retry enabled - enabled: true + # Configure retry disabled. + disabled: false # Configure temporality preference. # # Environment variable: OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE @@ -331,10 +331,10 @@ tracer_provider: # # Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_TRACES_INSECURE insecure: false - # Configure retry policy + # Configure retry policy. retry: - # Configure retry enabled - enabled: true + # Configure retry disabled. + disabled: false # Configure a batch span processor. - batch: # Configure exporter. @@ -351,10 +351,10 @@ tracer_provider: # # Environment variable: OTEL_EXPORTER_ZIPKIN_TIMEOUT timeout: 10000 - # Configure retry policy + # Configure retry policy. retry: - # Configure retry enabled - enabled: true + # Configure retry disabled. + disabled: false # Configure a simple span processor. - simple: # Configure exporter. diff --git a/schema/common.json b/schema/common.json index 1c85ab2..2dbdfda 100644 --- a/schema/common.json +++ b/schema/common.json @@ -82,9 +82,9 @@ "type": "object", "additionalProperties": false, "properties": { - "enabled": { + "disabled": { "type": "boolean", - "default": true + "default": false } } }