Dynatrace
The Dynatrace check connects to the Dynatrace API and imports Dynatrace problems as check results.
dynatrace.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: dynatrace
labels:
"Expected-Fail": "true"
spec:
schedule: "@every 1m"
owner: DBAdmin
severity: high
dynatrace:
- name: dynatrace
scheme: https
host: <HOST>
apiKey:
value: "<ACCESS_TOKEN>" # https://www.dynatrace.com/support/help/manage/access-control/access-tokens/personal-access-token
display:
javascript: |
var out = _.map(results, function(r) {
return {
name: r.title,
description: r.title,
labels: r.labels,
severity: r.severity,
}
})
JSON.stringify(out);
| Field | Description | Scheme |
|---|---|---|
apiKey* | Dynatrace API token | |
host* | Dynatrace tenant host |
|
name* | Name of the check, must be unique within the canary |
|
scheme | URL scheme for the tenant |
|
dependsOn | Checks that must complete before this check runs |
|
description | Description for the check |
|
display | Expression to change the formatting of the display | |
icon | Icon for overwriting default icon on the dashboard | |
labels | Labels for check |
|
markFailOnEmpty | If a transformation or datasource returns empty results, the check should fail |
|
metrics | Metrics to export from | |
namespace | Namespace to insert the check result into when it differs from the canary namespace |
|
relationships | Relationships that link check results to components or configs | Relationship |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks | |
transformDeleteStrategy | Status to apply to transformed checks when the source check no longer returns them |
|