engine::alerts::evaluate
Manually trigger alert evaluation
OpenTelemetry-based traces, metrics, logs, alerts, and sampling.
Manually trigger alert evaluation
List current alert states
Get a baggage item value from the current context
The baggage key to retrieve
Get all baggage items from the current context
Set a baggage item value (returns new context, does not modify global)
The baggage key to set
The baggage value to set
Check system health status
Log a debug message using OTEL
Additional structured data/attributes
The log message
Service name (defaults to function name if not provided)
Optional span ID for correlation
Optional trace ID for correlation
Log an error message using OTEL
Additional structured data/attributes
The log message
Service name (defaults to function name if not provided)
Optional span ID for correlation
Optional trace ID for correlation
Log an info message using OTEL
Additional structured data/attributes
The log message
Service name (defaults to function name if not provided)
Optional span ID for correlation
Optional trace ID for correlation
Log a trace-level message using OTEL
Additional structured data/attributes
The log message
Service name (defaults to function name if not provided)
Optional span ID for correlation
Optional trace ID for correlation
Log a warning message using OTEL
Additional structured data/attributes
The log message
Service name (defaults to function name if not provided)
Optional span ID for correlation
Optional trace ID for correlation
Clear all stored OTEL logs
List stored OTEL logs
End time in Unix timestamp milliseconds
Maximum number of logs to return
Pagination offset (default: 0)
Minimum severity number (1-24, higher = more severe)
Filter by severity text (e.g., "ERROR", "WARN", "INFO")
Filter by span ID
Start time in Unix timestamp milliseconds
Filter by trace ID
List current metrics values
Aggregate interval in seconds
End time in Unix timestamp milliseconds
Filter by metric name
Start time in Unix timestamp milliseconds
Get pre-aggregated metrics rollups
End time in Unix timestamp milliseconds
Rollup level index (0 = 1 min, 1 = 5 min, 2 = 1 hour)
Filter by metric name
Start time in Unix timestamp milliseconds
Get active sampling rules configuration
Clear all stored traces (only available when exporter is 'memory' or 'both')
List stored traces (only available when exporter is 'memory' or 'both')
Filter by span attributes (array of [key, value] pairs, AND logic, exact match)
End time in unix timestamp milliseconds (include spans overlapping before this)
Include internal engine traces (engine.* functions). Defaults to false.
Pagination limit (default: 100)
Maximum span duration in milliseconds (sub-ms precision)
Minimum span duration in milliseconds (sub-ms precision)
Filter by span name (case-insensitive substring match)
Pagination offset (default: 0)
Search across all spans in each trace, not just root spans. When true and a `name` filter is set, traces are matched if ANY span in the trace matches the name filter. Defaults to false.
Filter by service name (case-insensitive substring match)
Sort field: "duration" | "start_time" | "name" (default: "start_time")
Sort order: "asc" | "desc" (default: "asc")
Start time in unix timestamp milliseconds (include spans overlapping after this)
Filter by status (case-insensitive substring match)
Filter by specific trace ID
Get trace tree with nested children (only available when exporter is 'memory' or 'both')
Trace ID to build the tree for
Log event trigger
Minimum log level to trigger on
Log attributes
Log message body
Instrumentation scope name
Instrumentation scope version
Observed timestamp in nanoseconds
OpenTelemetry resource
Service name
Severity number (OpenTelemetry)
Severity text (e.g. INFO, ERROR)
Span ID
Log timestamp in nanoseconds
Trace ID