Skip to content

Export GitHub Action Workflow data as traces via OTLP

License

Notifications You must be signed in to change notification settings

codeboten/github-action-to-otlp

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

Github Action to OTLP

NOTE: This is still work in progress

This action outputs Github Action workflows and jobs details to OTLP via gRPC.

Inputs

endpoint

Required The OTLP endpoint which will receive the data.

headers

Optional Additional header configuration to pass in as metadata to the gRPC connection.

repo-token

Optional Token to use to authorize access to private repositories. Typically the GITHUB_TOKEN secret, with checks:read access.

Example usage

uses: codeboten/github-action-to-otlp@v1
with:
  endpoint: 'grpc.otlpendpoint.io:443'

Example usage in a private repository

uses: codeboten/github-action-to-otlp@v1
with:
  endpoint: 'grpc.otlpendpoint.io:443'
  repo-token: ${{ secrets.GITHUB_TOKEN }}