{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-monitoring-state-schema.json",
  "title": "MonitoringState",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-infrastructure-resources-api-openapi.yml#/components/schemas/MonitoringState",
  "type": "object",
  "properties": {
    "hasEntities": {
      "type": "boolean",
      "description": "Has entities"
    },
    "hostCount": {
      "type": "integer",
      "format": "int32",
      "description": "Count of hosts"
    },
    "monitoredEntitiesStats": {
      "$ref": "#/$defs/MonitoredEntitiesStats"
    },
    "openTelemetryCount": {
      "type": "integer",
      "format": "int32",
      "description": "Count of open telemetry"
    },
    "serverlessCount": {
      "type": "integer",
      "format": "int32",
      "description": "Count of serverless"
    }
  },
  "$defs": {
    "MonitoredEntitiesStats": {
      "type": "object",
      "description": "Statistics of monitored entities.",
      "properties": {
        "hostCount": {
          "type": "integer",
          "format": "int32"
        },
        "otelCount": {
          "type": "integer",
          "format": "int32"
        },
        "serverlessCount": {
          "type": "integer",
          "format": "int32"
        }
      }
    }
  }
}