Skip to content
activity

GitHub Action

OTEL Action

v0.2.0 Latest version

OTEL Action

activity

OTEL Action

Record GitHub workflow metrics as traces for an Open Telemery compatible endpoint

Installation

Copy and paste the following snippet into your .yml file.

              

- name: OTEL Action

uses: MNThomson/otel-action@v0.2.0

Learn more about this action in MNThomson/otel-action

Choose a version


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"

Checkout the test.yml worflow as well.