github.com/v1v/opentelemetry-backstage-processor


License
MIT
Install
go get github.com/v1v/opentelemetry-backstage-processor

Documentation

opentelemetry-backstage-processor

Status
Stability alpha: traces, logs

Local Development

Prerequisites

Install tools

Ngrok

The Ngrok can be installed by running:

make install-ngrok

ocb

The OpenTelemetry Collector Builder (OCB) can be installed by running:

make install-ocb

Build the collector

make build

Configure your GitHub repository for testing purposes

Open one terminal and run

make ngrok

Copy the ngrok URL and go to your GitHub repository, in this case we use elastic/oblt-project-tmpl:

  • https://github.com/elastic/oblt-project-tmpl/settings/hooks
    • Payload: https://3012-37-133-56-13.ngrok-free.app/githubactionsannotations or the relevant ngrok URL
    • Content type: application/json
    • Secret: secret - fixed for now for testing purposes
    • Enable SSL verification
    • Individual events:
      • Workflow runs
      • Workflow jobs

Run the collector

make run