app:dynatrace.site.reliability.guardian:guardians)Create new guardians and add objectives. See documentation
| Schema ID | Schema groups | Scope |
|---|---|---|
app:dynatrace.site.reliability.guardian:guardians | - | environment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/app:dynatrace.site.reliability.guardian:guardians |
| SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/app:dynatrace.site.reliability.guardian:guardians | |
| Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/app:dynatrace.site.reliability.guardian:guardians |
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.
| Property | Type | Description | Required |
|---|---|---|---|
Namename | text | - | Required |
Descriptiondescription | text | - | Optional |
Tagstags | set | Define key/value pairs that further describe this guardian. | Required |
DQL variablesvariables | Variable[] | Define variables for dynamically defining DQL queries | Required |
Objectivesobjectives | Objective[] | - | Required |
Event kindeventKind | enum | If set to null/'BIZ_EVENT' validation events stored as bizevents in Grail. If set to 'SDLC_EVENT' validation events stored as SDLC events The element has these enums
| Optional |
Variable object| Property | Type | Description | Required |
|---|---|---|---|
Namename | text | - | Required |
Valuedefinition | text | - | Required |
Objective object| Property | Type | Description | Required |
|---|---|---|---|
Objective namename | text | - | Required |
Descriptiondescription | text | - | Optional |
Objective typeobjectiveType | enum | The element has these enums
| Required |
DQL querydqlQuery | text | - | Required |
Display UnitdisplayUnit | DisplayUnit | - | Optional |
Enable auto adaptive thresholdautoAdaptiveThresholdEnabled | boolean | - | Optional |
Reference SLOreferenceSlo | text | Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.' | Required |
Comparison operatorcomparisonOperator | enum | The element has these enums
| Required |
Targettarget | float | - | Optional |
Warningwarning | float | - | Optional |
Segmentssegments | Segment[] | - | Required |
DisplayUnit object| Property | Type | Description | Required |
|---|---|---|---|
Base Unitbase | text | - | Required |
display as unitdisplay | text | - | Required |
Decimalsdecimals | integer | - | Required |
Segment object| Property | Type | Description | Required |
|---|---|---|---|
Segment IDid | text | - | Required |
Segment Variablesvariables | SegmentVariable[] | - | Required |
SegmentVariable object| Property | Type | Description | Required |
|---|---|---|---|
Variable Namename | text | - | Required |
Variable Valuesvalues | list | - | Required |