arbitrary_query
Execute custom SQL queries on Logfire database to retrieve and analyze telemetry data, with a lookback period of up to 7 days for precise insights.
Instructions
Run an arbitrary query on the Logfire database.
The schema is available via the `get_logfire_records_schema` tool.
Args:
query: The query to run, as a SQL string.
age: Number of minutes to look back, e.g. 30 for last 30 minutes. Maximum allowed value is 7 days.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
age | Yes | ||
query | Yes |
Input Schema (JSON Schema)
{
"properties": {
"age": {
"title": "Age",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
}
},
"required": [
"query",
"age"
],
"title": "arbitrary_queryArguments",
"type": "object"
}