@elastic/get-slow-transactions
Find the slowest transactions for a service or across all services
RUN SKILL get_slow_transactions()With parameters:
RUN SKILL get_slow_transactions WITH service = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| service | STRING | — | Service name (optional) |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL get_slow_transactions()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}