# README
opentelemetry-github-actions-annotations-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/githubactionsannotations
or the relevantngrok
URL - Content type:
application/json
- Secret:
secret
- fixed for now for testing purposes Enable SSL verification
- Individual events:
- Workflow runs
- Workflow jobs
- Payload:
Run the collector
make run
# Functions
NewFactory creates a factory for githubactionsannotationsreceiver.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author