Treblle · Schema

ProjectAnalytics

AnalyticsArtificial IntelligenceDeveloper ExperienceDocumentationGovernanceInsightsObservabilityPlatformSecurityTesting

Properties

Name Type Description
total_requests integer
error_rate number Error rate as a percentage
avg_response_time number Average response time in milliseconds
top_endpoints array
status_code_distribution object Count of requests by HTTP status code range
geographic_distribution array
View JSON Schema on GitHub

JSON Schema

treblle-projectanalytics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProjectAnalytics",
  "title": "ProjectAnalytics",
  "type": "object",
  "properties": {
    "total_requests": {
      "type": "integer"
    },
    "error_rate": {
      "type": "number",
      "description": "Error rate as a percentage"
    },
    "avg_response_time": {
      "type": "number",
      "description": "Average response time in milliseconds"
    },
    "top_endpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          }
        }
      }
    },
    "status_code_distribution": {
      "type": "object",
      "description": "Count of requests by HTTP status code range"
    },
    "geographic_distribution": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          }
        }
      }
    }
  }
}