Skip to content

owit metrics

Query metric time series across all configured backends that support the metrics signal type.

Terminal window
owit metrics [filters] [flags]
Terminal window
# All HTTP request metrics
owit metrics name eq http_requests_total --last 1h
# Metrics from a specific environment
owit metrics name eq cpu_usage env=prod --last 30m
# Aggregate: sum by service
owit metrics name eq http_requests_total --summarize "sum(value) by service" --last 1h
# High error rate
owit metrics name eq error_rate value gt 0.05 --last 15m --tag prod
# Specific backends
owit metrics name eq memory_usage --backends prometheus --last 2h
FieldDescription
timestampRFC 3339 timestamp
_sourceBackend name
serviceService name
nameMetric name (maps to __name__ in Prometheus)
valueMetric value