- Grafana vs Datadog is also a choice about what survives a failure. Grafana Alloy writes unsent metrics to a log on disk and forcibly removes them only once they are older than
max_keepalive_time, eight hours by default; the Datadog Agent buffers 15 MB in memory, and its 2 GB disk buffer does nothing until you setforwarder_storage_max_size_in_bytesto a positive value. - Both tools evaluate your alerts on the vendor's side by default. Datadog's own account of 8 March 2023 says that across five regions "monitors were unavailable and not alerting", and Grafana's documentation says that Grafana-managed rules, which new rules are by default, are evaluated in Grafana.
- A monitor cannot alert on data it has never seen. Datadog's docs say the monitor "must be able to evaluate data before alerting on missing data", and for query types other than Count the default missing-data behaviour is to show the last known status, which usually reads as green.
- The RBI's 2026 NBFC directions want a cyber incident on DAKSH within six hours of detection, and detection is the tool's job. How long your telemetry can be blind is therefore a number your auditor can ask for, and most teams cannot state it.
Grafana vs Datadog is usually argued on price, and we argued it that way ourselves: the billing unit is what sets the bill, hosts on one side and active series on the other. Read that before you sign. It is no help at 3am.
The other half of the comparison is what each one does when it cannot be reached. Not an outage of your platform. An outage of the thing you watch it with, or a NAT gateway that drops for twenty minutes. Metrics are produced the whole time. Some are kept, some are already gone.
Our position: Grafana's agent is the more careful of the two by default, Datadog's alerting is, and neither default is the one a regulated team wants. Both are a config change away from fine. Almost nobody makes it.
Grafana vs Datadog: what is each agent holding when the link drops?
Alloy's answer is written down. The wal block in prometheus.remote_write exists to "buffer unsent metrics in case of intermittent network issues", with three dials: truncate_frequency at 2h, min_keepalive_time at 5m, max_keepalive_time at 8h. Samples "are forcibly removed if they're older than max_keepalive_time". Eight hours of unsent metrics, on disk, with nobody configuring anything.
The clean-up is blunter than that sounds: "the lower two-thirds of data is removed from the WAL and is no longer available for sending" each time it runs. Eight hours is a ceiling on how long you can be disconnected, not a promise about the disk.
Datadog's numbers are smaller. "When the Agent fails to send a metric to the Datadog intake, it compresses and stores the metric in an in-memory retry buffer", and the documented defaults read as a list: "Maximum in-memory buffer size: 15 MB", "On-disk buffer size: 2 GB" and "Maximum disk usage ratio: 0.8".
The middle one is a trap, because the disk buffer is optional. Agent v7.27.0 and later "stores the metrics on disk when the memory limit is reached", but you "Enable this capability by setting forwarder_storage_max_size_in_bytes to a positive value". Until somebody does, the buffer is fifteen megabytes of memory, and at that limit "the metrics are dropped". On a busy host that is minutes.
What survives an agent restart?
Here the gap widens, and this is the one that has caught us out. Halfway through an outage somebody reboots a node or a deploy rolls the DaemonSet. Datadog is explicit: on restart the Agent "Drops in-memory payloads" and "Preserves and resends on-disk payloads". By default there are no on-disk payloads, so a restart mid-outage is a clean loss.
Alloy's log is on disk from the start, "located inside a component-specific directory relative to the storage path Alloy is configured to use", so a restart survives as long as that path is not an emptyDir. On Kubernetes it very often is, the same assumption we unpicked in whether you could restore an EKS cluster.
Credit where Datadog has earned it, because metrics are its weakest path. "The Logs Agent retries failed HTTP requests indefinitely", and instead of dropping, it "applies backpressure by stopping reading from the log source". Process data gets nothing: "On-disk buffering is not supported for Processes."
Do your alerts fire while the vendor is down?
Mostly not, on either, and no rate card shows it.
Datadog has published the clearest evidence against itself. Its account of 8 March 2023 opens: "Starting on March 8, 2023, at 06:03 UTC, we experienced an outage that affected the US1, EU1, US3, US4, and US5 Datadog regions across all services." The line that matters: "users could not access the platform or various Datadog services via the browser or APIs and monitors were unavailable and not alerting." Services were not all operational again until "March 9, 2023, 08:58 UTC".
Notice how a customer found out. The "first status page update indicating an issue" went out "at 06:31 UTC", the one naming impact to "data ingestion and monitors" at "07:23 UTC". Eighty minutes of quiet graphs and contented monitors.
Grafana is the same shape, with a documented way out. "By default, new alert rules are Grafana-managed", and for those "Alert evaluation is done in Grafana". In a Cloud stack, that Grafana is theirs. Data-source-managed rules push evaluation into "the data source", a Mimir or Loki ruler you run, though Grafana's own advice is to "use Grafana-managed alert rules whenever possible". The hatch exists and is one more thing on call.
What does a monitor do when the data just stops?
Worse than you would guess, because of the default.
Datadog offers four behaviours when a query returns nothing: "Evaluate as zero / Show last known status", "Show NO DATA", "Show NO DATA and notify" and "Show OK." What you get if you never chose is on the same page: "For queries without default_zero(), Count queries default to Evaluate as zero, while other query types default to Show last known status." The last known status of a monitor that was fine five minutes ago is fine. The gauge stops moving, the tile stays green.
Then the sentence that undoes the obvious fix. "The monitor must be able to evaluate data before alerting on missing data": "if you create a monitor for service:abc and data from that service is not reporting, the monitor does not send alerts." A no-data monitor covers a group Datadog has already seen, not a service that never arrived. And with no_data_timeframe unset, "2x the evaluation timeframe is used for query alerts, and 24 hours is used for service checks". Twenty-four hours is a diary entry.
Grafana's default goes the other way, worth saying after two sections of the opposite. No-data handling on a Grafana-managed rule defaults to "Set No Data state", with "Keep last state" merely an option. A query returning nothing changes state instead of holding the old one.
Does a blind hour start the six-hour clock?
This is where the engineering choice becomes a compliance one. The RBI's Cybersecurity, Technology: Risk, Resilience and Assurance Framework Directions, 2026 for NBFCs require at paragraph 28 that "The NBFC shall report cyber incidents on DAKSH platform" and do so "within six hours of detection", and at paragraph 26 that it "promptly detect any cyber-intrusions". Our read of the wider text is in what the 2026 directions change for an NBFC on AWS; whether six hours is reachable is the question we asked in September.
Both obligations sit on detection, and detection is the tool's job. We will not tell you what your position is if the telemetry for 14:00 to 15:00 does not exist; that is for your counsel and whoever signs the audit. What we will say is that the gap is knowable in advance and almost nobody has the number.
What can you change on Monday?
Three things. First, turn on the Datadog agent's disk buffer. In datadog.yaml:
forwarder_storage_max_size_in_bytes: 2147483648
forwarder_storage_path: /opt/datadog-agent/run/transactions_to_retry
That is the 2 GB the documentation already calls the default on-disk buffer size, with the documented Unix path written out so the next person can find it. The agent still only uses the disk while "the total storage space used is less than 80 percent". On Kubernetes both settings go in the Helm values, and that path has to outlive the pod.
Second, pin the Alloy WAL to a window you actually chose:
prometheus.remote_write "default" {
endpoint {
url = "https://<your-stack>.grafana.net/api/prom/push"
}
wal {
truncate_frequency = "2h"
min_keepalive_time = "5m"
max_keepalive_time = "8h"
}
}
Those are already the defaults; writing them down is the point. Raising max_keepalive_time is then a one-line change rather than an argument. Check what the storage path is mounted on while you are there.
Third, list the monitors that will stay quiet. Reading from Datadog's API needs both an API key and an application key:
curl -sG "https://api.datadoghq.com/api/v1/monitor" \
-H "DD-API-KEY: $DD_API_KEY" \
-H "DD-APPLICATION-KEY: $DD_APP_KEY" \
| jq -r '.[]
| select(.options.notify_no_data != true)
| [.id, .type, .name] | @tsv'
Leave page off and the endpoint returns every monitor, which is what that relies on. Every row it prints will keep showing its last known status for as long as the silence lasts. Start with the ones sitting on money moving.
When is each one the honest answer?
Datadog, when nobody is going to own a collector. That has not changed since the first post. Two settings and a pass over the monitors gets it somewhere defensible, and then the work stops: no WAL volume to size, no ruler to run, no Alloy config in a review queue. For six engineers with one who knows Prometheus that is the right trade, and that person's cost is the number to compare against, as in the hire-or-partner post.
Grafana, when residency has to be ap-south-1, or when somebody already runs Prometheus and will keep running it. The WAL is the better default and a Mimir ruler is a real answer to vendor-side evaluation, but only while a named person owns them. Where telemetry must live is the residency post.
And the case for none of it: if your worst outage last year was eleven minutes and nothing you run moves money, fifteen megabytes of memory is fine. We sell this work, so discount the enthusiasm.
The short version
Find out how long you can be disconnected before data is gone, and write the number down. On Alloy it is eight hours, on disk. On the Datadog agent it is fifteen megabytes of memory and one restart away from zero, until somebody sets forwarder_storage_max_size_in_bytes.
Then accept that both tools evaluate your alerts on the vendor's side. The fix is one check running somewhere else, on something you own, whose only job is to say the telemetry stopped.
This week: the two settings and the monitor list. If you do one, do the list. A buffer that drops data costs you a graph. A monitor holding its last known status costs you the hour you most needed to see.
This is engineering guidance, not legal advice. Regulations and their annexures are amended over time; read the current text and take your compliance position from counsel.
We are a DevSecOps company in Kochi, working with fintech, crypto and AI teams across India, the UAE, the US and the UK. Infrastructure we build and run has secured over $3B in transaction volume at 99.9% uptime, for clients including BILLDESK and Coinshift and for teams backed by Y Combinator and Sequoia.
The work is built to survive an audit rather than to describe one: SOC 2 Type II, ISO 27001, PCI DSS and SLSA 3. Our VAPT team holds OSWE certification, has spoken at Defcon, BlackHat and OWASP, and has found critical CVEs in open source software.
We rank ourselves first in our guide to choosing a DevOps company for a fintech — and we say so on that page, in the second paragraph, rather than presenting it as a neutral list. Read the criteria there and hold us to them.
Not sure how long your telemetry can go dark?
The two week audit prices the gap: what each agent is actually buffering, which monitors are holding their last known status, and what the regulator's clock does to both. You get the findings whether or not you work with us.