Created
January 15, 2023 23:48
-
-
Save lakamsani/c329f211bf2a6f3d1c685ae02d4ff828 to your computer and use it in GitHub Desktop.
OTel demo with Lightstep yaml updates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opentelemetry-collector: | |
nameOverride: otelcol | |
mode: deployment | |
extraEnvs: | |
- name: LS_TOKEN | |
valueFrom: | |
secretKeyRef: | |
key: LS_TOKEN | |
name: otel-collector-secret | |
resources: | |
limits: | |
memory: 100Mi | |
config: | |
exporters: | |
otlp/ls: | |
endpoint: ingest.lightstep.com:443 | |
timeout: 30s | |
tls: | |
insecure_skip_verify: true | |
headers: | |
"lightstep-access-token": "${LS_TOKEN}" | |
otlp: | |
endpoint: '{{ .Release.Name }}-jaeger-collector:4317' | |
tls: | |
insecure: true | |
logging: | |
logLevel: debug | |
processors: | |
resource: | |
attributes: | |
- key: service | |
from_attribute: service.name | |
action: insert | |
resource/add_container: | |
attributes: | |
- key: container | |
from_attribute: service.name | |
action: insert | |
service: | |
pipelines: | |
metrics: | |
exporters: | |
# - logging | |
- prometheus | |
- otlp/ls | |
processors: | |
- resource | |
# - memory_limiter | |
# - batch | |
traces: | |
exporters: | |
# - logging | |
- otlp | |
- otlp/ls | |
processors: | |
- resource/add_container | |
# - memory_limiter | |
- spanmetrics | |
# - batch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment