elastic / elastic/observability-migration-platform

[Datadog] Cross-Metric Ratio with Dimensional Filtering

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
asset:alerts capabilities phase:6 source:datadog workstream:asset-coverage
Dominant language
Python
Stars
6
Forks
8
Avg merge
2d 11h
Merged PRs (30d)
20

Description

Datadog allows you to perform math across two entirely different metric names and then filter by a shared tag. In Elastic, this usually requires a complex filter_ratio in TSVB or an ES|QL query which is structured very differently from this one-liner.

```json
{
"name": "Memory Usage vs Limit Ratio",
"type": "query alert",
"query": "avg(last_5m):( sum:container.memory.usage{cluster:prod} / sum:container.memory.limit{cluster:prod} ) * 100 > 90",
"message": "Cluster {{cluster.name}} is approaching memory limits. Current: {{value}}%",
"options": {
"thresholds": { "critical": 90 }
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.