New Relic · JSON Structure

New Relic Nrql Condition Structure

Type: object Properties: 1
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

NrqlCondition is a JSON Structure definition published by New Relic, describing 1 property. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

nrql_condition

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "NrqlCondition",
  "properties": {
    "nrql_condition": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "expected_groups": {
          "type": "integer"
        },
        "ignore_overlap": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "nrql": {
          "type": "object",
          "properties": {
            "query": {
              "type": "string"
            },
            "since_value": {
              "type": "string"
            }
          }
        },
        "runbook_url": {
          "type": "string"
        },
        "terms": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "duration": {
                "type": "string"
              },
              "operator": {
                "type": "string"
              },
              "priority": {
                "type": "string"
              },
              "threshold": {
                "type": "string"
              },
              "time_function": {
                "type": "string"
              }
            }
          }
        },
        "value_function": {
          "type": "string"
        }
      }
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}