Quick overview
This workflow exposes a POST webhook that collects workflow execution metrics, traces, error/failure data, and cost analytics via HTTP endpoints, then aggregates the results into a single observability report with basic insights and returns it to the caller.
How it works
- Receives an observability query via a POST webhook.
- Validates and normalizes the request into a query context (time range, workflow IDs, environment, and toggles for traces/costs).
- Calls an HTTP endpoint to fetch execution metrics such as run counts, success rate, duration, and throughput.
- Calls HTTP endpoints to fetch distributed traces plus error and failure data for the same time range.
- Calls an HTTP endpoint to fetch cost analytics, including estimated totals and cost per successful execution.
- Aggregates collection statuses and compiles a unified observability report with metrics, optional traces/costs, and generated insights, then returns it in the webhook response.
Setup
- Configure the webhook endpoint (path:
/observability, method: POST) in the system that will send observability requests.
- Replace the placeholder HTTP endpoints (currently
httpbin.org) with your real observability/telemetry APIs for metrics, traces, errors, and cost analytics.
- If your APIs require authentication, add the needed HTTP credentials/headers to the HTTP Request steps.
- Adjust request parameters you expect clients to send (for example
from, to, workflowIds, includeTraces, includeCosts, and granularity) to match your environment and data sources.