بنقرة واحدة
ed-metrics
Metrics - discover metric names and run aggregation queries (timeseries and tables).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Metrics - discover metric names and run aggregation queries (timeseries and tables).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
AI Teammate - manage connectors (PagerDuty, Slack, GitHub, ...), update teammates (agents) and view teammate activity.
Pipelines - fleet management, config changes, version history, deployments and live capture.
Dashboards - create, update, inspect and validate metric dashboards from the CLI.
Cross-signal incident investigation workflow - from alert to root cause using events, patterns, logs, metrics, traces and pipeline history.
Monitors - create, manage, snooze and resolve Edge Delta monitors and alerts.
Primary Edge Delta CLI - edx commands, authentication, output formats and conventions.
| name | ed-metrics |
| description | Metrics - discover metric names and run aggregation queries (timeseries and tables). |
| metadata | {"version":"1.0.0","author":"edgedelta","repository":"https://github.com/edgedelta/agent-skills","tags":"edgedelta,metrics,timeseries,aggregation","alwaysApply":"false"} |
Discover and aggregate metrics.
The edx CLI must be installed and authenticated. See the ed-edx skill.
field:"value" syntax only.edx facets keys --scope metric.edx metrics list # all metric names
edx metrics list --keyword cpu # fuzzy filter
# Average request duration per service, last hour
edx metrics query --name http.request.duration --agg avg --group-by service.name
# Max CPU on one host over 24h with 5-minute rollups
edx metrics query --name system.cpu.usage --agg max \
--filter 'host.name:"web-1"' --rollup 300 --lookback 24h
# Table instead of timeseries (current values, good for top-N)
edx metrics query --name http.requests --agg sum \
--group-by service.name --graph-type table
Aggregations: sum, avg, min, max, count, median.
Filter: CQL field syntax, "*" for none.
Under the hood this builds the CQL agg:name{filter} by {keys}.rollup(secs)
and returns records keyed by formula, e.g. {"A": {"records": [...]}}.
Metric dimensions are a fixed indexed allowlist (service.name, host.ip,
ed.*, k8s.*, ...) - discover it with edx facets keys --scope metric.
Grouping by anything else (an OTLP datapoint attribute like model/type, or a
custom log_to_metric field dimension) silently returns one empty group
rather than an error; edx metrics query warns when a --group-by key is not
indexed. For attribute-level breakdowns, query the underlying logs (which
carry every attribute) or emit a dedicated log_to_metric per breakdown.
| Question | Command |
|---|---|
| Is CPU/memory elevated? | edx metrics query --name system.cpu.usage --agg avg --group-by host.name |
| Which service has the most errors? | edx metrics query --name <error-count-metric> --agg sum --group-by service.name --graph-type table |
| Did latency regress after deploy? | edx metrics query --name http.request.duration --agg avg --from <deploy-time> --to <now> |
edx metrics list --keyword <part>.edx facets options --scope metric --facet service.name.--lookback.--filter (use "*"), then add filters back one at a time.