Skip to content

MNThomson/otel-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation


OpenTelemetry Action

Upload OpenTelemetry traces of a GitHub actions workflow run

Last GitHub Commit


About

Running otel-action at the end of a GitHub workflow will upload OpenTelemetry spans for each job (and job step) to an OTel compatible endpoint. This provides observability into CI pipelines, and provides a quick method to find offending commits that are the root cause of a CI job becoming slower.

Below is an example trace from this repository's test workflow being viewed in Honeycomb.io's UI (they have an awesome free-forever tier)!

Honeycomb Example Trace

Example usage

- name: Upload OTEL traces
  uses: MNThomson/otel-action@master
  with:
    endpoint: ${{ secrets.ENDPOINT }}
    headers: ${{ secrets.HEADERS }}
    service_name: "MyDatasetName"