New Relic · Schema

NrqlCondition

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
nrql_condition object
View JSON Schema on GitHub

JSON Schema

new-relic-nrql-condition-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "nrql_condition": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "example": true
        },
        "expected_groups": {
          "type": "integer",
          "example": 100
        },
        "ignore_overlap": {
          "type": "boolean",
          "example": true
        },
        "name": {
          "type": "string",
          "example": "example-resource-01"
        },
        "nrql": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string",
              "example": "example_string"
            },
            "since_value": {
              "type": "string",
              "example": "example_string"
            }
          }
        },
        "runbook_url": {
          "type": "string",
          "example": "https://portal.example.com/path/abc123"
        },
        "terms": {
          "type": "array",
          "example": [
            {
              "duration": "example_string",
              "operator": "example_string",
              "priority": "example_string",
              "threshold": "example_string",
              "time_function": "example_string"
            }
          ],
          "items": {
            "type": "object",
            "properties": {
              "duration": {
                "type": "string",
                "example": "example_string"
              },
              "operator": {
                "type": "string",
                "example": "example_string"
              },
              "priority": {
                "type": "string",
                "example": "example_string"
              },
              "threshold": {
                "type": "string",
                "example": "example_string"
              },
              "time_function": {
                "type": "string",
                "example": "example_string"
              }
            }
          }
        },
        "value_function": {
          "type": "string",
          "example": "example_string"
        }
      }
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NrqlCondition"
}