Obtain an API token
Before sending events from Buildkite, contact Chronosphere Support to obtain an API token for use with authenticating your third-party app with Observability Platform.This API token differs from an API token that’s generated when creating
a service account.
Create a Buildkite webhook
To send Buildkite events to Observability Platform:-
In Buildkite, go to
https://buildkite.com/organizations/COMPANY/servicesand create a webhook. ReplaceCOMPANYwith the name of your company or organization. - Click Add Webhook to define a webhook.
- Enter a description for the webhook, such as Chronosphere Buildkite.
-
In the URL field, enter
https://ADDRESS.chronosphere.io/api/v1/data/events/receiver/buildkite. ReplaceADDRESSwith your company name prefixed to your Observability Platform instance that ends in.chronosphere.io. For example,MY_COMPANY.chronosphere.io. - In the Token field, enter the API token you obtained from Chronosphere Support.
- Select Send an HMAC signature.
-
Select one or more of the following options for your webhook:
- build.finished
- build.running
- build.scheduled
- Select which pipelines you want to enable events for.
- Save your webhook.