Copy to ClipboardCopied!Toggle word wrapToggle overflow
apiVersion: v1
kind: Secret
metadata:
name: otel-config
type: Opaque
stringData:
config.json: |
# "otlp" is the only supported exporter in APIcast
exporter = "otlp"
processor = "simple"
[exporters.otlp]
# Alternatively the OTEL_EXPORTER_OTLP_ENDPOINT environment variable can also be used.
host = "${COLLECTOR_HOST}"
port = ${COLLECTOR_PORT}
# Optional: enable SSL, for endpoints that support it
# use_ssl = true
# Optional: set a filesystem path to a pem file to be used for SSL encryption
# (when use_ssl = true)
# ssl_cert_path = "/path/to/cert.pem"
[processors.batch]
max_queue_size = 2048
schedule_delay_millis = 5000
max_export_batch_size = 512
[service]
name = "apicast" # Opentelemetry resource name
EOF
apiVersion: v1
kind: Secret
metadata:name: otel-config
type: Opaque
stringData:config.json:|
# "otlp" is the only supported exporter in APIcast
exporter = "otlp"
processor = "simple"
[exporters.otlp]
# Alternatively the OTEL_EXPORTER_OTLP_ENDPOINT environment variable can also be used.
host = "${COLLECTOR_HOST}"
port = ${COLLECTOR_PORT}
# Optional: enable SSL, for endpoints that support it
# use_ssl = true
# Optional: set a filesystem path to a pem file to be used for SSL encryption
# (when use_ssl = true)
# ssl_cert_path = "/path/to/cert.pem"
[processors.batch]
max_queue_size = 2048
schedule_delay_millis = 5000
max_export_batch_size = 512
[service]
name = "apicast" # Opentelemetry resource name
EOF
Copy to ClipboardCopied!Toggle word wrapToggle overflow