Skip to content

Commit

Permalink
Updated default config
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrytfleung committed Jan 9, 2024
1 parent 3ef830a commit 9c6f6a5
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions collector/config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,47 @@
extensions:
solarwindsapmsettings:
endpoint: "apm.collector.${SW_APM_DATACENTRE}.cloud.solarwinds.com:443"
key: "${SW_APM_API_TOKEN}:${OTEL_SERVICE_NAME}"
interval: "1m"

receivers:
otlp:
protocols:
grpc:
endpoint: "localhost:4317"
http:
endpoint: "localhost:4318"
telemetryapi:

processors:
batch:
decouple:
resourcedetection:
detectors: [env, system, lambda]
timeout: 1s
override: false

exporters:
logging:
loglevel: debug
verbosity: detailed
otlp:
endpoint: "https://otel.collector.${SW_APM_DATACENTRE}.cloud.solarwinds.com:443"
headers:
Authorization: "Bearer ${SW_APM_API_TOKEN}"

service:
extensions: [solarwindsapmsettings]
pipelines:
traces:
receivers: [otlp]
exporters: [logging]
processors: [resourcedetection,batch,decouple]
exporters: [otlp,logging]
metrics:
receivers: [otlp]
exporters: [logging]
processors: [resourcedetection,batch,decouple]
exporters: [otlp,logging]
traces/telemetry:
receivers: [telemetryapi]
processors: [resourcedetection,batch,decouple]
exporters: [otlp,logging]
telemetry:
metrics:
address: localhost:8888

0 comments on commit 9c6f6a5

Please sign in to comment.