mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Add an opt-in collector config + compose override that forward traces, metrics, and logs to a Grafana Cloud OTLP gateway alongside the local backends. Enabling it is a runtime choice (layer the override compose file) — no xrpld rebuild, base stack unchanged. Credentials come from a gitignored .env file. Documented in the telemetry runbook and TESTING.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
647 B
Plaintext
17 lines
647 B
Plaintext
# Grafana Cloud OTLP credentials — copy to `.env.grafanacloud` and fill in.
|
|
# Find all three under Grafana Cloud -> Connections -> "OpenTelemetry (OTLP)".
|
|
#
|
|
# `.env.grafanacloud` is gitignored; never commit real tokens.
|
|
|
|
# OTLP/HTTP gateway URL for your stack, including the /otlp path.
|
|
# Example: https://otlp-gateway-prod-us-east-0.grafana.net/otlp
|
|
GRAFANA_CLOUD_OTLP_ENDPOINT=
|
|
|
|
# Numeric instance/stack id shown on the OTLP connection page
|
|
# (used as the Basic-auth username).
|
|
GRAFANA_CLOUD_INSTANCE_ID=
|
|
|
|
# A Cloud Access Policy token with metrics:write, traces:write, logs:write
|
|
# (used as the Basic-auth password).
|
|
GRAFANA_CLOUD_API_TOKEN=
|