Skip to content

Commit

Permalink
Merge pull request #9 from AlexanderWert/main
Browse files Browse the repository at this point in the history
fixes `otelcol-config-extras.yml` with upstream changes
  • Loading branch information
AlexanderWert authored Aug 3, 2023
2 parents 4aee71f + 8f299de commit 03595ae
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/otelcollector/otelcol-config-extras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,15 @@ exporters:
headers:
Authorization: "Bearer YOUR_APM_SECRET_TOKEN"

processors:
spanmetrics/elastic:
metrics_exporter: otlp/elastic

service:
pipelines:
traces:
receivers: [otlp]
processors: [spanmetrics/elastic, batch]
exporters: [otlp/elastic]
processors: [batch]
exporters: [otlp/elastic, spanmetrics]
metrics:
receivers: [otlp]
processors: [filter, transform, batch]
receivers: [otlp, spanmetrics]
processors: [filter, batch]
exporters: [otlp/elastic]
logs:
receivers: [otlp]
Expand Down

0 comments on commit 03595ae

Please sign in to comment.