Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTelemetry OTLP setup for tracing, take 2 #697

Open
wants to merge 21 commits into
base: main
Choose a base branch
from

Commits on Oct 15, 2024

  1. feat: tracing with OpenTelemetry OTLP

    Replace the "movement_timing" tracing target and the logging layer
    it targeted with an optionally installed OpenTelemetry OTLP exporter.
    The name of the tracing target matched to send OpenTelemetry events is
    "movement_telemetry".
    mzabaluev committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    583d124 View commit details
    Browse the repository at this point in the history
  2. feat(process-compose):telemetry overlay

    Add the telemetry overlay enabling OTLP telemetry
    export in suzuka-full-node and m1-da-light-node..
    
    In the telemetry overlay for suzuka-full-node, add
    an OTLP collector start job running a docker container.
    mzabaluev committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    57845ba View commit details
    Browse the repository at this point in the history
  3. feat(tracing)!: break out telemetry

    Provide telemetry API as separate from tracing rather than
    a globally installed layer. Installing an OpenTelemetry layer into the
    global tracing subscriber raises nasty reentrancy issues because
    the OTLP exporter stack also uses tracing under the hood.
    mzabaluev committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bece93e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    607ba0b View commit details
    Browse the repository at this point in the history
  5. feat: produce some telemetry spans and events

    Install an OpenTelemetryLayer configured with the OTLP exporter.
    The tracing spans and events to export are selected by target
    "movement_telemetry".
    mzabaluev committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    56899ca View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. fix(tracing): work around another shutdown problem

    The implementation of shutdown in the opentelemetry_sdk exporter
    calls futures_executor::block_on, which does not play well with
    the multithreaded Tokio runtime.
    mzabaluev committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f713d71 View commit details
    Browse the repository at this point in the history
  2. feat: spans for each telemetry event

    OpenTelemetry needs spans at the top level of
    its log event model at least.
    mzabaluev committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8ce2e07 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. feat(suzuka-full-node): execute_block telemetry

    Emit telemetry events detailing the success or failure
    mzabaluev committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c915948 View commit details
    Browse the repository at this point in the history
  2. chore: comments on some metrics

    In the transaction_ingress task of suzuka-full-node
    and executor's transaction_pipe, add comments detailing
    which metrics the telemetry events are contributing to.
    mzabaluev committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c1ba7fc View commit details
    Browse the repository at this point in the history
  3. feat(opt-executor): emit telemetry on tx failure

    At the points where transaction is dropped in the submit_transaction
    method, emit telemetry events. These will help compute the
    transaction failure rate.
    mzabaluev committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    372f9b4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    acc202b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. fix: add feed.

    l-monninger committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    954c8e4 View commit details
    Browse the repository at this point in the history
  2. fix: add otlp test.

    l-monninger committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e6144f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    3fed933 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f59cb2f View commit details
    Browse the repository at this point in the history
  3. feat(ci): add telemetry to local tests

    Apply the telemetry overlay when running tests in the local setup.
    mzabaluev committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    2fab8d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2af21d View commit details
    Browse the repository at this point in the history
  5. feat(docker-compose): add telemetry overlay

    Port the simple jaeger setup from process-compose.
    mzabaluev committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    f06cf53 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    2688dec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2e6653 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    1474c53 View commit details
    Browse the repository at this point in the history