fix
This commit is contained in:
parent
007b242e0f
commit
04b83cab36
3 changed files with 13 additions and 13 deletions
|
@ -1,5 +1,3 @@
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
otel-collector:
|
otel-collector:
|
||||||
image: otel/opentelemetry-collector-contrib:0.97.0
|
image: otel/opentelemetry-collector-contrib:0.97.0
|
||||||
|
|
|
@ -18,6 +18,13 @@ common:
|
||||||
limits_config:
|
limits_config:
|
||||||
allow_structured_metadata: true
|
allow_structured_metadata: true
|
||||||
retention_period: 90d
|
retention_period: 90d
|
||||||
|
otlp_config:
|
||||||
|
log_attributes:
|
||||||
|
- action: index_label
|
||||||
|
attributes:
|
||||||
|
- component
|
||||||
|
- function
|
||||||
|
- endpoint
|
||||||
|
|
||||||
query_range:
|
query_range:
|
||||||
results_cache:
|
results_cache:
|
||||||
|
@ -52,12 +59,3 @@ schema_config:
|
||||||
|
|
||||||
ruler:
|
ruler:
|
||||||
alertmanager_url: http://localhost:9093
|
alertmanager_url: http://localhost:9093
|
||||||
|
|
||||||
otlp_config:
|
|
||||||
resource_attributes:
|
|
||||||
log_attributes:
|
|
||||||
- action: index_label
|
|
||||||
attributes:
|
|
||||||
- component
|
|
||||||
- function
|
|
||||||
- endpoint
|
|
||||||
|
|
|
@ -65,7 +65,9 @@ service:
|
||||||
traces:
|
traces:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch]
|
processors: [batch]
|
||||||
exporters: [otlp/tempo, otlp/grafana_cloud_traces]
|
exporters:
|
||||||
|
- otlp/tempo
|
||||||
|
- otlp/grafana_cloud_traces
|
||||||
metrics:
|
metrics:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch]
|
processors: [batch]
|
||||||
|
@ -75,4 +77,6 @@ service:
|
||||||
logs:
|
logs:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [batch]
|
processors: [batch]
|
||||||
exporters: [otlphttp/loki, loki/grafana_cloud_logs]
|
exporters:
|
||||||
|
- otlphttp/loki
|
||||||
|
- otlphttp/grafana_cloud_logs
|
||||||
|
|
Loading…
Reference in a new issue