Skip to content
Open
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
2 changes: 1 addition & 1 deletion .docker/docker-compose-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ services:
- "5778:5778" # HTTP

otel-collector:
image: otel/opentelemetry-collector-contrib:0.100.0
image: otel/opentelemetry-collector-contrib:0.146.1
ports:
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP Http receiver
Expand Down
4 changes: 2 additions & 2 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:4317
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://localhost:4317
OTEL_METRICS_EXPORT_INTERVAL_MS=5000
OTEL_METRICS_ENABLED=true
PROMETHEUS_METRICS_ENABLED=true

OTEL_METRICS_TEMPORALITY=DELTA
PROMETHEUS_METRICS_ENABLED=false

LOGFLARE_ENABLED=false
LOGFLARE_API_KEY=api_key
Expand Down
4 changes: 2 additions & 2 deletions monitoring/grafana/dashboards/storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -5576,7 +5576,7 @@
},
"timepicker": {},
"timezone": "browser",
"title": "Storage API - OTel Metrics",
"uid": "storage-otel-metrics",
"title": "Storage API - OTel Metrics - Pull",
"uid": "storage-otel-pull-metrics",
"version": 1
}
11 changes: 10 additions & 1 deletion monitoring/otel/config/otel-collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ processors:
check_interval: 1s
limit_percentage: 70
spike_limit_percentage: 20
deltatocumulative:
max_stale: 2m # how long to keep inactive streams
max_streams: 50000 # how many streams to keep
batch/traces:
send_batch_size: 10000
timeout: 10s
Expand Down Expand Up @@ -169,7 +172,13 @@ service:
metrics/otel:
receivers: [otlp]
processors:
[memory_limiter, transform/add_resource_attributes, metricstransform/host, batch/metrics]
[
memory_limiter,
deltatocumulative,
transform/add_resource_attributes,
metricstransform/host,
batch/metrics,
]
exporters: [prometheusremotewrite]
metrics/prometheus:
receivers: [otlp]
Expand Down