Platform
Observe
Metrics & Analytics

Metrics & Analytics

Comprehensive metrics including context hit rate, tool call counts, workflow executions, and compression token savings.

Available Metrics

Xilos tracks the following metrics across all queries:

Query Metrics

MetricDescription
Query VolumeTotal queries processed per time period
Query TreatmentsBreakdown: unrestricted, blocked, flagged, masked
Average LatencyTime from request to response
Time to First TokenLatency for streaming responses
Error RatePercentage of queries returning errors

Cost Metrics

MetricDescription
Total SpendDollar amount for all LLM calls
Cost per QueryAverage cost across all queries
Cache Hit RatePercentage of queries served from cache
Compression SavingsTokens saved and dollar value
Savings RateTotal savings as percentage of gross spend

Orchestration Metrics

MetricDescription
Context Hit RatePercentage of queries enriched by the Context Engine
Tool Call CountNumber of tool/MCP executions
Workflow ExecutionsNumber of multi-model workflow runs
Routing Rule CoveragePercentage of queries matching a routing rule
Smart Routing DecisionsNumber of SLM-based routing decisions

Quality Metrics

MetricDescription
Faithfulness ScoreHow well the response matches the source
Answer RelevanceHow relevant the response is to the query
Context RelevanceHow relevant the retrieved context is
Hallucination RiskEstimated risk of hallucination per model

Time-Series Data

All metrics are available as time-series data. Use the time range selector to view:

  • Day — Hourly granularity
  • Week — Daily granularity
  • Month — Daily granularity
  • Custom — Select any date range

Period Comparison

Compare metrics between two periods to identify trends:

  • Current period vs. previous period
  • Percentage change for each metric
  • Visual indicators (up/down arrows) for significant changes

Trending Topics

Xilos automatically identifies trending topics in your query traffic:

  • Top Unrestricted Topics — Most common subjects in queries that passed through
  • Top Blocked Topics — Most frequent categories that triggered blocks
  • Top Masked Topics — Most common subjects where PII was detected and masked

Info: Trending topics help you understand what your users are asking about and where your security rules are most active.

Exporting Data

Query log data can be exported for custom analysis:

  1. Navigate to Query Log.
  2. Apply filters as needed.
  3. Click Export to download as CSV.

For programmatic access, use the Query endpoint to retrieve historical data.