Created
December 1, 2023 11:01
-
-
Save Condla/c2f08f1e05532378750b67fdd43af63d to your computer and use it in GitHub Desktop.
Example configuration of an AWS Lambda ADOT OTel Collector to ingest traces of AWS Lambda functions into Grafana Cloud
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
#collector.yaml in the root directory | |
#Set an environment variable 'OPENTELEMETRY_COLLECTOR_CONFIG_FILE' to '/var/task/collector.yaml' | |
receivers: | |
otlp: | |
protocols: | |
grpc: | |
endpoint: "localhost:4317" | |
http: | |
endpoint: "localhost:4318" | |
exporters: | |
logging: | |
verbosity: detailed | |
otlphttp: | |
endpoint: https://otlp-gateway-prod-eu-west-2.grafana.net/otlp | |
headers: | |
Authorization: "Basic <base64 encoded key>" | |
service: | |
pipelines: | |
traces: | |
receivers: [otlp] | |
exporters: [otlphttp] | |
metrics: | |
receivers: [otlp] | |
exporters: [otlphttp, logging] | |
telemetry: | |
metrics: | |
address: localhost:8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment