tracer
Optimized version of fetch_graph using database-level aggregation.
Handles 1M+ datapoints efficiently with:
- Database-level time bucketing and aggregation
- Subquery-based filtering (no large IN clauses)
- Query result caching
- Minimal memory footprint
Performance targets:
- 20-30k datapoints: <100ms
- 100k datapoints: <500ms
- 1M datapoints: 2-3s
Query parameters same as fetch_graph.
get/tracer/charts/fetch_graph/
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/tracer/charts/fetch_graph/
- Auth: one of:
- API key in header X-Api-Key
- API key in header X-Secret-Key
Query parameters
intervalstring required
filtersstring
propertystring
req_data_configstring required
project_idstring uuid required
allow_sampledboolean
Deprecated compatibility parameter; accepted but ignored. Aggregate graph results are always exact.
refreshboolean
Recompute and atomically replace the last complete exact result.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.