Skip to content

Commit

Permalink
add insecure field (#30)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
  • Loading branch information
Alex Boten and jack-berg authored Jan 11, 2024
1 parent f38ac7c commit 6213808
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/kitchen-sink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ logger_provider:
#
# Environment variable: OTEL_EXPORTER_OTLP_TIMEOUT, OTEL_EXPORTER_OTLP_LOGS_TIMEOUT
timeout: 10000
# Configure client transport security for the exporter's connection.
#
# Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_LOGS_INSECURE
insecure: false
# Configure log record limits. See also attribute_limits.
limits:
# Configure max log record attribute value size. Overrides attribute_limits.attribute_value_length_limit.
Expand Down Expand Up @@ -170,6 +174,10 @@ meter_provider:
#
# Environment variable: OTEL_EXPORTER_OTLP_TIMEOUT, OTEL_EXPORTER_OTLP_METRICS_TIMEOUT
timeout: 10000
# Configure client transport security for the exporter's connection.
#
# Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_METRICS_INSECURE
insecure: false
# Configure temporality preference.
#
# Environment variable: OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
Expand Down Expand Up @@ -286,6 +294,10 @@ tracer_provider:
#
# Environment variable: OTEL_EXPORTER_OTLP_TIMEOUT, OTEL_EXPORTER_OTLP_TRACES_TIMEOUT
timeout: 10000
# Configure client transport security for the exporter's connection.
#
# Environment variable: OTEL_EXPORTER_OTLP_INSECURE, OTEL_EXPORTER_OTLP_TRACES_INSECURE
insecure: false
# Configure a batch span processor.
- batch:
# Configure exporter.
Expand Down
3 changes: 3 additions & 0 deletions schema/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"timeout": {
"type": "integer",
"minimum": 0
},
"insecure": {
"type": "boolean"
}
},
"required": [
Expand Down
3 changes: 3 additions & 0 deletions schema/meter_provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@
"explicit_bucket_histogram",
"base2_exponential_bucket_histogram"
]
},
"insecure": {
"type": "boolean"
}
},
"required": [
Expand Down

0 comments on commit 6213808

Please sign in to comment.