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:
|
||||
otel-collector:
|
||||
image: otel/opentelemetry-collector-contrib:0.97.0
|
||||
|
|
|
@ -18,6 +18,13 @@ common:
|
|||
limits_config:
|
||||
allow_structured_metadata: true
|
||||
retention_period: 90d
|
||||
otlp_config:
|
||||
log_attributes:
|
||||
- action: index_label
|
||||
attributes:
|
||||
- component
|
||||
- function
|
||||
- endpoint
|
||||
|
||||
query_range:
|
||||
results_cache:
|
||||
|
@ -52,12 +59,3 @@ schema_config:
|
|||
|
||||
ruler:
|
||||
alertmanager_url: http://localhost:9093
|
||||
|
||||
otlp_config:
|
||||
resource_attributes:
|
||||
log_attributes:
|
||||
- action: index_label
|
||||
attributes:
|
||||
- component
|
||||
- function
|
||||
- endpoint
|
||||
|
|
|
@ -65,7 +65,9 @@ service:
|
|||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [otlp/tempo, otlp/grafana_cloud_traces]
|
||||
exporters:
|
||||
- otlp/tempo
|
||||
- otlp/grafana_cloud_traces
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
|
@ -75,4 +77,6 @@ service:
|
|||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [otlphttp/loki, loki/grafana_cloud_logs]
|
||||
exporters:
|
||||
- otlphttp/loki
|
||||
- otlphttp/grafana_cloud_logs
|
||||
|
|
Loading…
Reference in a new issue