{
  "$id": "https://equinix.github.io/equinix-cloudevents/jsonschema/equinix/fabric/v2/application_connect/AppConnectMetric.json",
  "name": "AppConnectMetric",
  "examples": [],
  "package": "equinix.fabric.v2",
  "datatype": "equinix.fabric.v2.AppConnectMetric",
  "domain": "Equinix Fabric Application Connect Metric",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$ref": "#/definitions/Data",
  "definitions": {
    "Data": {
      "properties": {
        "resource": {
          "$ref": "#/definitions/Resource",
          "additionalProperties": true,
          "description": "Optional. The Backup event payload. Unset for deletion events."
        },
        "metrics": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Metric",
            "additionalProperties": true
          },
          "description": "Specific details of the metric"
        },
        "message": {
          "type": "string",
          "description": "Supporting message describing the event"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "App Connect Metric Data",
      "description": "The data within all App Connect Metric."
    },
    "Resource": {
      "properties": {
        "href": {
          "type": "string",
          "description": "Link to the resource that has generated the event"
        },
        "type": {
          "type": "string",
          "description": "Type of the resource generating the event"
        },
        "uuid": {
          "type": "string",
          "description": "Equinix assigned unique identifier of the resource generating the event"
        },
        "name": {
          "type": "string",
          "description": "Name of the resource generating the event"
        },
        "state": {
          "type": "string",
          "description": "State of the resource generating the event"
        },
        "description": {
          "type": "string",
          "description": "Description of the resource generating the event"
        },
        "code": {
          "type": "string",
          "description": "Metro code of the source metro generating the event"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "Resource",
      "description": "Schema of the resource that fired the event"
    },
    "Metric": {
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of the metric"
        },
        "name": {
          "type": "string",
          "description": "The name of the metric"
        },
        "unit": {
          "type": "string",
          "description": "Unified Code for Units of Measure"
        },
        "interval": {
          "type": "string",
          "description": "The time interval that the metric datapoints refer to"
        },
        "dataPoints": {
          "type": "array",
          "description": "Metric data values and end times",
          "items": {
            "$ref": "#/definitions/DataPoint"
          }
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "Metrics",
      "description": "Schema definition of Metrics data"
    },
    "DataPoint": {
      "properties": {
        "startDateTime": {
          "type": "string",
          "description": "The start time of the metric data point value given",
          "format": "date-time"
        },
        "endDateTime": {
          "type": "string",
          "description": "The end time of the metric data point value given",
          "format": "date-time"
        },
        "value": {
          "type": "number",
          "description": "The value of the metric data point"
        }
      },
      "type": "object",
      "title": "DataPoints",
      "additionalProperties": true
    }
  },
  "cloudeventTypes": [
    {
      "name": "equinix.fabric.metric",
      "description": "Metrics collected",
      "sloCategoryCode": "",
      "releaseStatus": "released"
    }
  ],
  "metricNames": [
    {
      "name": "equinix.fabric.app_link.ingress_sessions.rate",
      "description": "Application Link ingress sessions rate in sessions/sec",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.ingress_requests_erred.count",
      "description": "Application Link ingress erred requests count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.ingress_bytes_rx.count",
      "description": "Application Link ingress received bytes count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.ingress_bytes_tx.count",
      "description": "Application Link ingress transmitted bytes count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_connections_erred.count",
      "description": "Application Link egress erred connections count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_connections_retried.count",
      "description": "Application Link egress retried connections count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_requests_queued.count",
      "description": "Application Link egress queued requests count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_requests_queued.time",
      "description": "Application Link egress average queued request time in seconds",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_requests_redispatched.count",
      "description": "Application Link egress redispatched requests count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_responses.latency",
      "description": "Application Link egress average response latency in seconds",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_responses_erred.count",
      "description": "Application Link egress erred responses count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_bytes_rx.count",
      "description": "Application Link egress received bytes count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_bytes_tx.count",
      "description": "Application Link egress transmitted bytes count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_down.count",
      "description": "Application Link egress backend down count",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_down.time",
      "description": "Application Link egress backend downtime in seconds",
      "sloCategoryCode": "BLUE_METRIC_SLO",
      "releaseStatus": "preview"
    }
  ],
  "alertNames": [
    {
      "name": "equinix.fabric.app_link.ingress_sessions.rate",
      "description": "Application Link ingress sessions rate is ${operator} ${operand} sessions/sec",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.ingress_requests_erred.count",
      "description": "Application Link ingress erred requests count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.ingress_bytes_rx.count",
      "description": "Application Link ingress received bytes count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.ingress_bytes_tx.count",
      "description": "Application Link ingress transmitted bytes count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_connections_erred.count",
      "description": "Application Link egress erred connections count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_connections_retried.count",
      "description": "Application Link egress retried connections count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_requests_queued.count",
      "description": "Application Link egress queued requests count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_requests_queued.time",
      "description": "Application Link egress average queued request time is ${operator} ${operand} seconds",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_requests_redispatched.count",
      "description": "Application Link egress redispatched requests count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_responses.latency",
      "description": "Application Link egress average response latency is ${operator} ${operand} seconds",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_responses_erred.count",
      "description": "Application Link egress erred responses count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_bytes_rx.count",
      "description": "Application Link egress received bytes count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_bytes_tx.count",
      "description": "Application Link egress transmitted bytes count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_down.count",
      "description": "Application Link egress backend down count is ${operator} ${operand}",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    },
    {
      "name": "equinix.fabric.app_link.egress_down.time",
      "description": "Application Link egress backend downtime is ${operator} ${operand} seconds",
      "sloCategoryCode": "BLUE_ALERT_SLO",
      "releaseStatus": "preview"
    }
  ]
}
