Skip to content

reakaleek/opentelemetry-github-actions-junit-receiver

Repository files navigation

opentelemetry-github-actions-junit-receiver

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/githubactionsjunit 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published