Amazon X-Ray · JSON Structure

Xray Service Statistics Structure

Response statistics for a service.

Type: object Properties: 5
Application PerformanceDebuggingDistributed TracingMonitoringObservability

ServiceStatistics is a JSON Structure definition published by Amazon X-Ray, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

OkCount ErrorStatistics FaultStatistics TotalCount TotalResponseTime

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "type": "object",
  "properties": {
    "OkCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NullableLong"
        },
        {
          "description": "The number of requests that completed with a 2xx Success status code."
        }
      ]
    },
    "ErrorStatistics": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ErrorStatistics"
        },
        {
          "description": "Information about requests that failed with a 4xx Client Error status code."
        }
      ]
    },
    "FaultStatistics": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FaultStatistics"
        },
        {
          "description": "Information about requests that failed with a 5xx Server Error status code."
        }
      ]
    },
    "TotalCount": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NullableLong"
        },
        {
          "description": "The total number of completed requests."
        }
      ]
    },
    "TotalResponseTime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NullableDouble"
        },
        {
          "description": "The aggregate response time of completed requests."
        }
      ]
    }
  },
  "description": "Response statistics for a service.",
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "ServiceStatistics",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-xray/refs/heads/main/json-structure/xray-service-statistics-structure.json"
}