Send CircleCI events to Observability Platform
To send CircleCI events to Chronosphere Observability Platform, create a webhook within CircleCI and include your API key to authenticate with Observability Platform.
Obtain an API token
Before sending events from CircleCI, contact Chronosphere Support to obtain an API token to use when 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 CircleCI webhook
To send CircleCI events to Observability Platform:
-
In CircleCI, go to the project you want to create a webhook for.
-
Click Project Settings.
-
In the navigation menu, click Webhooks, and then click Add Webhook.
-
In the Add Webhook dialog, enter a name for your webhook, such as
Chronosphere change events
. -
In the Receiver URL field, enter
https://ADDRESS.chronosphere.io/api/v1/data/events/receiver/circleci
Replace
ADDRESS
with your company name prefixed to your Observability Platform instance that ends in.chronosphere.io
. For example,MY_COMPANY
.chronosphere.io
. -
In the Secret token field, enter the API token you obtained from Chronosphere Support.
-
Select the Events to trigger the webhook. Observability Platform supports Workflow Completed and Job Completed events.
-
Click Add Webhook to create the webhook.