🧩Alerting API

For more details, please refer to the Alerting feature.

πŸ””Alerting

To use the Alerting API, it's necessary to generate an access token.

πŸ”—Access Token

A comprehensive toolkit, with practical usage examples, is accessible on GitHub.

This toolkit comes pre-installed as a default component within the on-premises platform, located at /datasentinel/soft/datasentinel_toolkit.

Instance Alerting

Status

GET https://<<platform-server>>/ds-api/alerting/{pg-instance}/status

Display Instance Alerting Status

Path Parameters

Name
Type
Description

pg-instance*

String

Instance name in Datasentinel: <<server_name>>@<<pg_name>>

Headers

Name
Type
Description

user-token*

String

Generated Access Token

Response

If instance alerting is inactive, the reason field clarifies the cause. Several possibilities exist:

  • Global alerting is turned off on the Datasentinel platform.

  • An instance-specific silence is in effect.

  • A silence is active, covering the instance through its filters.

  • No corresponding alerting rule has been identified.

Enable

PATCH https://<<platform-server>>/ds-api/alerting/{pg-instance}/enable

Enable Instance Alerting

Path Parameters

Name
Type
Description

pg-instance*

String

Instance name in Datasentinel: <<server_name>>@<<pg_name>>

Headers

Name
Type
Description

user-token*

String

Generated Access Token

Response

Enabling instance alerting might not yield any impact under specific conditions.

Several reasons could contribute to this:

  • Global alerting is turned off on the Datasentinel platform.

  • A silence is active, covering the instance through its filters.

  • No corresponding alerting rule has been identified.

Disable

PATCH https://<<platform-server>>/ds-api/alerting/{pg-instance}/disable

Disable Instance Alerting

Path Parameters

Name
Type
Description

pg-instance*

String

Instance name in Datasentinel: <<server_name>>@<<pg_name>>

Headers

Name
Type
Description

user-token*

String

Generated Access Token

Response

Problems

GET https://<<platform-server>>/ds-api/alerting/{pg-instance}/problems

Display Instance Problems

Path Parameters

Name
Type
Description

pg-instance*

String

Instance name in Datasentinel: <<server_name>>@<<pg_name>>

Headers

Name
Type
Description

user-token*

String

Generated Access Token

Response

Customized Alerts

Create

POST https://<<platform-server>>/ds-api/alerting/{pg-instance}/problems

Create Custom Instance Problem

Path Parameters

Name
Type
Description

pg-instance*

String

Instance name in Datasentinel: <<server_name>>@<<pg_name>>

Headers

Name
Type
Description

user-token*

String

Generated Access Token

Response

Last updated