mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 15:28:03 +00:00
merge: bring the traces_endpoint rename forward from phase-7
Ten conflict regions in four files, none of them caused by the rename. phase-8's own commit had rewritten comments in files phase-7 owns (Unit.h, HistogramBuckets.h, OTelCollector.cpp) and in Telemetry.cpp, while the same sweep ran independently on phase-7. Resolved every region to phase-7's side on ownership grounds: those files belong to phase-7 or earlier, so a downstream branch should not carry divergent copies. phase-8 changed comments only in all four, verified against the merge base, so no code was dropped. The one structural region: phase-7 had refactored addUnitView from an inline lambda into a member function, and phase-8 still held the lambda. Keeping phase-8's would have shadowed the member. Wording phase-8 had that is worth restoring on phase-7 -- the "legacy" qualifier on the prefix parameter, and the rejected-alternative note on the bucket ladders -- is recorded outside the tree for a follow-up.
This commit is contained in:
@@ -18,7 +18,7 @@ The authoritative `[telemetry]` example lives in `cfg/xrpld-example.cfg`. Teleme
|
||||
| Option | Type | Default | Description |
|
||||
| -------------------------- | ------ | --------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||
| `enabled` | 0 or 1 | `0` | Enable/disable telemetry |
|
||||
| `endpoint` | string | `http://localhost:4318/v1/traces` | OTLP/HTTP collector endpoint |
|
||||
| `traces_endpoint` | string | `http://localhost:4318/v1/traces` | Full OTLP/HTTP URL for spans, used verbatim |
|
||||
| `use_tls` | 0 or 1 | `0` | Enable TLS for exporter connection |
|
||||
| `tls_ca_cert` | string | `""` | Path to CA certificate file |
|
||||
| `tls_client_cert` | string | `""` | Client cert (PEM) for mTLS; empty = one-way; if `enabled=1`, needs key + `use_tls=1` or startup fails |
|
||||
|
||||
@@ -1058,7 +1058,7 @@ endpoint=http://localhost:4318/v1/metrics
|
||||
```ini
|
||||
[telemetry]
|
||||
enabled=1
|
||||
endpoint=http://otel-collector:4318/v1/traces
|
||||
traces_endpoint=http://otel-collector:4318/v1/traces
|
||||
trace_peer=0
|
||||
batch_size=1024
|
||||
max_queue_size=4096
|
||||
|
||||
Reference in New Issue
Block a user