init
This commit is contained in:
commit
4b499a1767
5 changed files with 259 additions and 0 deletions
otel-collector
45
otel-collector/config.yaml
Normal file
45
otel-collector/config.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
processors:
|
||||
batch:
|
||||
|
||||
exporters:
|
||||
tempo:
|
||||
endpoint: tempo:4317
|
||||
prometheus:
|
||||
endpoint: http://prometheus:9411/api/prom/push
|
||||
tls:
|
||||
insecure: true
|
||||
loki:
|
||||
endpoint: http://loki:3100/loki/api/v1/push
|
||||
tls:
|
||||
insecure: true
|
||||
default_labels_enabled:
|
||||
exporter: false
|
||||
job: true
|
||||
|
||||
# extensions:
|
||||
# health_check:
|
||||
# pprof:
|
||||
# zpages:
|
||||
|
||||
service:
|
||||
extensions: [health_check, pprof, zpages]
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [tempo]
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [prometheus]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [loki]
|
Loading…
Add table
Add a link
Reference in a new issue