Skip to content

Commit

Permalink
Enable otlphttp exporter in tracing collection
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
  • Loading branch information
pmatyjasek-sumo authored and perk-sumo committed Feb 15, 2021
1 parent 2234d95 commit 7f50b63
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2163,13 +2163,18 @@ otelcol:
## being much more verbose and including (sampled) spans content
# logging:
# loglevel: debug
otlphttp:
endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
service:
extensions: [health_check]
pipelines:
traces:
receivers: [jaeger, opencensus, otlp, zipkin]
processors: [memory_limiter, k8s_tagger, source, resource, batch]
## To enable otlphttp exporter comment out following line
exporters: [zipkin]
## and uncomment next one
# exporters: [otlphttp]

## Configure telegraf-operator
## This is an experimental configuration and shouldn't be used in production environment
Expand Down
2 changes: 2 additions & 0 deletions tests/tracing/static/collection-monitoring-false.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ data:
traces.otelcol.conf.yaml: |
exporters:
otlphttp:
endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
zipkin:
endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
extensions:
Expand Down
2 changes: 2 additions & 0 deletions tests/tracing/static/simple.output.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ data:
traces.otelcol.conf.yaml: |
exporters:
otlphttp:
endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
zipkin:
endpoint: ${SUMO_ENDPOINT_DEFAULT_TRACES_SOURCE}
extensions:
Expand Down

0 comments on commit 7f50b63

Please sign in to comment.