Skip to content

horizon-listener README doesn't document distributed tracing support #262

Description

@Idaonoli

Problem

horizon-listener/src/tracing.ts's DefaultTracer (OpenTelemetry-compatible span creation, W3C traceparent propagation, configurable sampling and payload redaction) is entirely undocumented in horizon-listener/README.md.

Why it matters

This is a substantial feature — spans for rpc_pollevent_relaywebhook with parent/child relationships and outbound traceparent header injection — that operators wiring this into an existing OTel pipeline would want to know about without reverse-engineering it from source.

Suggested approach

Add a README section describing the tracer option, the span hierarchy, the redactPayload default, and how to bridge to a real OTLP exporter via the exporter callback (the example already exists in the source file's doc comment).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions