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
-
PipelineStart
Observability Platform listens for
PipelineStart
,PipelineSuccess
, andPipelineFailed
events. There can be several hours between aPipelineStart
event and a deployment. Chronosphere recommends usingPipelineSuccess
orPipelineFailed
unless start events are critical information.
-
-
Enter the following URL:
https://TENANT.chronosphere.io/api/v1/data/events/receiver/harness
Replace
TENANT
with your Observability Platform tenant name. -
Click + Add Headers to add the following custom header:
X-Harness-Token: CHRONOSPHERE_HARNESS_TOKEN
Replace
CHRONOSPHERE_HARNESS_TOKEN
with the API token obtained from Chronosphere support. -
Click Finish.