New Relic · JSON Structure

New Relic Condition Body Structure

Type: object Properties: 10
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

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

Properties

condition_scope enabled entities gc_metric metric name terms type user_defined violation_close_timer

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

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "ConditionBody",
  "properties": {
    "condition_scope": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "entities": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "gc_metric": {
      "type": "string"
    },
    "metric": {
      "type": "string"
    },
    "name": {
      "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"
          }
        }
      }
    },
    "type": {
      "type": "string"
    },
    "user_defined": {
      "type": "object",
      "properties": {
        "metric": {
          "type": "string"
        },
        "value_function": {
          "type": "string"
        }
      }
    },
    "violation_close_timer": {
      "type": "integer"
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}