Span metrics is a processor that turns tracing spans into aggregated metrics (e.g., request counts, latency histograms), reducing export volume and making it easier to build dashboards and alerts. There are two ways to add a span metrics action: usingDocumentation Index
Fetch the complete documentation index at: https://docs.odigos.io/llms.txt
Use this file to discover all available pages before exploring further.
odictl or using YAML files.
- odictl
- YAML
Select the actions menu
Use 
Tab to focus on the Actions pane or press a, then press Enter or click + Add Action with your mouse.
Select Span metrics
Use the arrow keys to move through the list of action types. When Span metrics is highlighted, press 
Enter.
Configure span metrics
- Press
ito enter INSERT mode. - Adjust options such as
interval,metricsExpiration, and histogram settings as needed. - When finished, press
Esc, then type:wqto save and exit.

To cancel creating the action, press
Esc if you are in INSERT mode, then type :q! to exit without saving.
