Skip to content

Instantly share code, notes, and snippets.

@lakamsani
Created January 15, 2023 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lakamsani/c329f211bf2a6f3d1c685ae02d4ff828 to your computer and use it in GitHub Desktop.
Save lakamsani/c329f211bf2a6f3d1c685ae02d4ff828 to your computer and use it in GitHub Desktop.
OTel demo with Lightstep yaml updates
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