Datadog
To export monitoring data from your Upsolver account, you must first create a connection that provides the appropriate credentials to access your Datadog account.
Syntax
Jump to
Connection Options
API_KEY
API_KEY
Type: text
The API key for your Datadog account.
API_HOSTNAME
API_HOSTNAME
Type: text
The API hostname for your Datadog account.
COMMENT
— editable
COMMENT
— editableType: text
(Optional) A description or comment regarding this connection.
Examples
Create a connection
The following example creates a new connection named my_datadog_connection that will be used to send monitoring information to Datadog.
Like any other connection you create in Upsolver, the connection is persistent, so you need only create this once.
Create a job
The following script creates a job named send_monitoring_data_to_datadog that sends cluster metrics to the Datadog account my_datadog_connection created in the above example:
The job includes the cluster_id and cluster_name as tags, which is helpful if you have multiple clusters in your organization.
Last updated