Dynatrace
To export monitoring data from your Upsolver account, you must first create a connection that provides the appropriate credentials to access your Dynatrace account.
Syntax
Jump to
API_TOKEN
ENVIRONMENT_ID
COMMENT
Connection Options
API_TOKEN
API_TOKEN
Type: text
The API token for your Dynatrace account. When you generate the API token in your Dynatrace account, ensure that it has ingest metrics scope. See the Dynatrace documentation for more information.
ENVIRONMENT_ID
ENVIRONMENT_ID
Type: text
The environment ID for your Dynatrace 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_dynatrace_connection that will be used to send monitoring information to Dynatrace.
Create a job
The following script creates a job named send_monitoring_data_to_dynatrace that sends job metrics to the Dynatrace account my_dynatrace_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.
Note
Please ensure you include RUN_START_TIME()
AS time in the SELECT
statement that reads from the system tables to avoid seeing an error.
Last updated