Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions logging-k8s-stdout-otlp-json/k8s/collector-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
path: "/ready"

processors:
batch:
resourcedetection:
detectors: [ "env", "system" ]
override: false
Expand All @@ -40,10 +39,16 @@ data:
exporters:
otlphttp/metrics:
endpoint: http://localhost:9090/api/v1/otlp
sending_queue:
batch:
otlphttp/traces:
endpoint: http://localhost:4418
sending_queue:
batch:
otlphttp/logs:
endpoint: http://localhost:3100/otlp
sending_queue:
batch:
debug/metrics:
verbosity: detailed
debug/traces:
Expand All @@ -57,11 +62,11 @@ data:
pipelines:
traces:
receivers: [ otlp ]
processors: [ k8sattributes, resourcedetection, batch ]
processors: [ k8sattributes, resourcedetection ]
exporters: [ otlphttp/traces ]
metrics:
receivers: [ otlp ]
processors: [ k8sattributes, resourcedetection, batch ]
processors: [ k8sattributes, resourcedetection ]
exporters: [ otlphttp/metrics ]
logs/raw_otlpjson:
receivers: [ filelog/otlp-json-logs ]
Expand All @@ -71,6 +76,6 @@ data:
exporters: [ otlpjson ]
logs/otlp:
receivers: [ otlp, otlpjson ]
processors: [ k8sattributes, resourcedetection, batch ]
processors: [ k8sattributes, resourcedetection ]
exporters: [ otlphttp/logs ]
# exporters: [ otlphttp/logs, debug/logs ] # Uncomment this line to enable debug logging
9 changes: 5 additions & 4 deletions otlp/docker/otel-collector-config-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ exporters:
namespace: promexample
const_labels:
label1: value1
sending_queue:
batch:
debug:
verbosity: detailed

Expand All @@ -20,15 +22,16 @@ exporters:
endpoint: jaeger-all-in-one:4317
tls:
insecure: true
sending_queue:
batch:

# Alternatively, use jaeger_thrift_http with the settings below. In this case
# update the list of exporters on the traces pipeline.
#
# jaeger_thrift_http:
# url: http://jaeger-all-in-one:14268/api/traces

processors:
batch:


extensions:
health_check:
Expand All @@ -42,9 +45,7 @@ service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [debug, zipkin, otlp/jaeger]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [debug, prometheus]
Loading