Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mnthomson/otel-action

🔭 Create & upload OpenTelemetry traces of a GitHub actions workflow run to an OTLP compatible endpoint
https://github.com/mnthomson/otel-action

action actions golang observability opentelemetry tracing

Last synced: 9 days ago
JSON representation

🔭 Create & upload OpenTelemetry traces of a GitHub actions workflow run to an OTLP compatible endpoint

Awesome Lists containing this project

README

        




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](https://opentelemetry.io/) 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](.github/workflows/test.yml) being viewed in [Honeycomb.io](https://www.honeycomb.io/)'s UI (they have an awesome free-forever tier)!


Honeycomb Example Trace

## Example usage

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

Checkout the [`test.yml`](.github/workflows/test.yml) worflow as well.