Understand what is happening
observe_appWhat is happening in production, by view: metrics, traces, errors (grouped), history (versions and events), timeline, impact (a version's effect), database (frequent and slow SQL queries), edge (what the CDN PoPs serve; url: why an address is kept or not) or ask (dated facts around a question).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "observe_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | An address of the environment: why a PoP keeps it or not. | |
| view | No | The view returned. | metrics |
| limit | No | 100 at most. | |
| query | No | A PromQL query (Prometheus' query language: https://prometheus.io/docs/prometheus/latest/querying/basics/); without it, traffic and errors. | |
| range | No | The window. | 1h |
| since | No | Window: 30m, 2h, 1d, or an ISO 8601 date. | 24h |
| trial | No | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. | |
| until | No | End (ISO 8601 date); now by default. | |
| errors | No | Only the traces with a span in error. | |
| project | No | The project. | |
| service | No | The app's OTEL_SERVICE_NAME; by default, the project's name (what while sets). | |
| version | No | Version number; the active version by default. | |
| database | No | Database name; the first declared by default. | |
| families | No | Keep only these families. | |
| question | No | The question, in plain words. | |
| trace_id | No | One trace in detail: its id (32 hexadecimal characters). | |
| operation | No | Only the traces of this operation (span name), for example "GET /orders". | |
| environment | No | Production or a preview. | production |
| fingerprint | No | Fingerprint of a group, for its detail. | |
| min_duration | No | Only the traces longer than this, for example "500ms" or "2s". | |
| since_minutes | No | Window, in minutes (30 days at most). | |
| window_minutes | No | The compared window, before and after the version. |