Send Harness events to Observability Platform
To send Harness events to Chronosphere Observability Platform, create a webhook within Harness and include your API key to authenticate with Observability Platform.
Obtain an API token
Before sending events from Harness, 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 Harness webhook
To send Harness events to Observability Platform:
-
In Harness, create a webhook (opens in a new tab).
-
Select Add a Notification Rule. Observability Platform supports the following Harness events:
-
PipelineSuccess -
PipelineFailed -
PipelineStartObservability Platform listens for
PipelineStart,PipelineSuccess, andPipelineFailedevents. There can be several hours between aPipelineStartevent and a deployment. Chronosphere recommends usingPipelineSuccessorPipelineFailedunless start events are critical information.
-
-
Enter the following URL:
https://TENANT.chronosphere.io/api/v1/data/events/receiver/harnessReplace
TENANTwith your Observability Platform tenant name. -
Click + Add Headers to add the following custom header:
X-Harness-Token: CHRONOSPHERE_HARNESS_TOKENReplace
CHRONOSPHERE_HARNESS_TOKENwith the API token obtained from Chronosphere support. -
Click Finish.