New Relic · Schema
ConditionBody
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform
Properties
| Name | Type | Description |
|---|---|---|
| condition_scope | string | |
| enabled | boolean | |
| entities | array | |
| gc_metric | string | |
| metric | string | |
| name | string | |
| terms | array | |
| type | string | |
| user_defined | object | |
| violation_close_timer | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ConditionBody",
"title": "ConditionBody",
"type": "object",
"properties": {
"condition_scope": {
"type": "string",
"example": "example_string"
},
"enabled": {
"type": "boolean",
"example": true
},
"entities": {
"type": "array",
"items": {
"type": "integer"
},
"example": [
100
]
},
"gc_metric": {
"type": "string",
"example": "example_string"
},
"metric": {
"type": "string",
"example": "example_string"
},
"name": {
"type": "string",
"example": "example-resource-01"
},
"terms": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IJKTermsType"
},
"example": [
{
"duration": "example_string",
"operator": "example_string",
"priority": "example_string",
"threshold": "example_string",
"time_function": "example_string"
}
]
},
"type": {
"type": "string",
"example": "standard"
},
"user_defined": {
"$ref": "#/components/schemas/UserDefinedConditionBody"
},
"violation_close_timer": {
"type": "integer",
"example": 1718153645993
}
}
}