Server to create honeycomb.io buildevents from GitLab CI pipeline and job webhooks.
If you set this up, and add the public URL with the path of /api/message
, to your GitLab project, and enable sending Pipeline and Job webhooks to it, then you will soon be able to see the events for them in your Honeycomb dataset.
We support the same environment variables as buildevents, most importantly BUILDEVENT_APIKEY
. They are all documented here.
Check out the buildevents project that hugely influenced this project at https://github.com/honeycombio/buildevents . Another way to solve this would be doing something like the Circle CI's API usage with the buildevents watch
command.
We use the same logic as buildevents to generate trace IDs, so if you use the buildevents CLI to instrument steps and commands in your CI pipelines, those will show up in your pipeline traces in Honeycomb too!
Work in Progress example of using buildevents cmd
here: https://gitlab.com/zoidyzoidzoid/sample-gitlab-project/-/blob/master/.gitlab-ci.yml
GET /healthz: healthcheck
POST /api/message: receive webhooks
GitLab Pipeline Webhooks Documentation GitLab Job Webhooks Documentation
- sluongng/buildkite-honeycomb-exporter - A honeycomb exporter that uses opentelemetry to export buildkite pipeline information to honeycomb or other observability platforms.