EOL Risk Scores
in your Datadog account
What it does
A small Python exporter pushes four metric families into your Datadog account, for the products you run only: the ones it detects on your Datadog hosts, the ones you list, or both. Every product point is tagged with the product (endoflife.ai slug), its letter grade, its lifecycle phase (approaching, past or none), whether an active CISA KEV entry applies, detected:true, and the release line when you list a version.
The dashboard. The integration tile includes the EOL Risk Overview dashboard: products past end of life with an active CISA KEV entry, the nearest end-of-life deadlines, products by risk grade and, once the stack scan has run, your riskiest hosts.
The stack scan. dd_stack_scan.py reads your host inventory from Datadog (host names, host tags and the apps the Datadog Agent detected), matches it against endoflife.ai's products on your own machine, and pushes endoflife.stack_risk_score per host and product back to Datadog. dd_push.py uses the same matching to decide which products to send, so both cover the same software.
Set it up
Python 3.8 or later, standard library only: nothing to install. The steps below come from the exporter's README.
Step 1
In Datadog, open Integrations, search endoflife and install the endoflife.ai tile (app.datadoghq.com/integrations/endoflife, login required).
Step 2
Get the exporter from the public repository github.com/endoflife-ai/datadog-eol-metrics (clone it or download dd_push.py and dd_stack_scan.py).
Step 3
In Datadog, Organization Settings → API Keys: create or copy an API key. Set the environment variables (Windows shown; use export elsewhere). DD_SITE is optional and defaults to datadoghq.com; set it to your account's site if different: datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ddog-gov.com.
setx DD_API_KEY "your-datadog-api-key" setx DD_SITE "datadoghq.com"
Step 4
Tell the exporter which software you run, in one or both of these ways. Detect it (recommended): create an application key (Organization Settings → Application Keys) and set DD_APP_KEY; the exporter reads your host list from the Datadog Hosts API and matches it on your machine. List it: set EOL_PRODUCTS to endoflife.ai slugs (the last part of a product page URL, such as endoflife.ai/postgresql), each optionally with a version; a version scopes the end-of-life date to that release line.
setx DD_APP_KEY "your-datadog-application-key" setx EOL_PRODUCTS "postgresql:14,nodejs:20,nginx"
With neither set, the exporter sends nothing and says how to set a scope. Sending every product endoflife.ai tracks is opt-in: set EOL_FULL_CATALOG=1.
Step 5
Check the scope, push, then confirm in Metrics → Summary (search endoflife.risk_score). Schedule both scripts daily (cron, Task Scheduler, a CI job): endoflife.ai rebuilds the scores every day.
python dd_push.py --dry-run # the products in scope and the series count; sends nothing python dd_push.py # product metrics for the software in scope python dd_stack_scan.py # per-host scores (needs DD_APP_KEY) python dd_stack_scan.py --sample # try the matching logic on synthetic hosts; pushes nothing
If a product on your hosts is missed, add it to EOL_PRODUCTS, or add an entry to the stack scan's alias map; the script says when it finds no matches.
Monitors. The repository's assets/monitors/ folder holds four monitor templates: critical EOL risk (a score of 76 or above), end of life within 30 days, KEV-exposed product, and host running end-of-life software. The first three alert only on products tagged detected:true, so a product you do not run never alerts. To create one, open Monitors → New Monitor → Import from JSON and paste the object under the file's definition key.
How many metrics it sends
A Datadog series is one metric name with one combination of tag values. The exporter sends up to three series per product you run (the risk score, the days to end of life when the product has a dated end of life, and the KEV component), plus one per host and detected product from the stack scan. In endoflife.ai's own Datadog sandbox, three sample hosts running nine products between them came to about 2,062 series over 24 hours with the old catalog-wide exporter; the current one sends fewer than 30 product series and 10 host series for the same hosts. The opt-in full catalog sends up to three series for each of the 700+ products endoflife.ai tracks.
Whether they count toward your Datadog custom metrics: Datadog's documentation lists “Metrics submitted by Marketplace integrations” and “Metrics submitted from an integration that is not one of the more than 1,000 Datadog integrations” among custom metrics (Datadog docs). endoflife.ai is a free partner integration in the Datadog Integrations catalog, not a Marketplace listing, and the documentation does not say how a listed partner integration outside the Marketplace is treated. We are asking Datadog with our next listing update and will publish the answer; until then, plan as if the metrics may count and check Plan & Usage after the first run.
What data goes where
The exporter reads the public file endoflife.ai/scores.json, rebuilt daily, and, when you list a version, the public per-version file endoflife.ai/scanner-db.json. From the repository's README:
The exporter downloads endoflife.ai's public scores file (and, whenEOL_PRODUCTSnames a version, the public per-version file) and identifies itself by user agent (endoflife-datadog-exporter/<version>), so endoflife.ai can count active installations in aggregate. Nothing else is sent to endoflife.ai: your Datadog API and application keys go only to Datadog, your product list stays on your machine, and host detection reads your host inventory from Datadog, matches it locally and pushes the results only to Datadog. There is no install ID and no telemetry endpoint. github.com/endoflife-ai/datadog-eol-metrics, Data collection
The stack scan's user agent is endoflife-datadog-exporter-stackscan/<version>. We count fetches of the scores file per user agent, per day, in aggregate; no install ID exists to count.
Free, and what the paid API adds
The integration is free: the tile, the exporter and the scores file cost nothing, and no endoflife.ai key is needed. The paid developer API is for teams that check stacks and SBOMs programmatically at volume: /v1/batch scores a list of products in one call and /v1/sbom resolves and scores a CycloneDX or SPDX document. Plans start at USD 89 a month (Starter, 10,000 requests per day); see the API page for every tier.
FAQ
Does the endoflife.ai integration for Datadog cost anything?
No. The integration tile, the exporter and the public scores file it reads are free, and no endoflife.ai account or key is needed. Datadog may count the metrics toward your custom metrics; we have not confirmed how it classifies them, so check Plan and Usage after the first run.
What does endoflife.ai learn about my Datadog account?
Nothing beyond downloads of the public scores file (and the public per-version file when you list a version). The exporter identifies itself by user agent so we can count installations in aggregate; there is no install ID. Your Datadog API and application keys go only to Datadog, your product list stays on your machine, and host detection matches your host inventory on your own machine and pushes the results only to Datadog.
Which Datadog sites does it support?
Set DD_SITE to your account's site: datadoghq.com (the default), datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com or ddog-gov.com.
Why does host detection need an application key?
Host detection (the stack scan, and dd_push.py when it finds your products for you) reads your host list from the Datadog Hosts API, which needs both an API key and an application key. Without an application key, list your products in EOL_PRODUCTS instead; dd_push.py then needs only DD_API_KEY.
How often should the exporter run?
Once a day. endoflife.ai rebuilds scores.json daily, so a daily scheduled run (cron, Task Scheduler or a CI job) keeps the metrics current.
Is this integration made by Datadog?
No. It is built and supported by endoflife.ai and is available in the Datadog Integrations catalog. endoflife.ai is not affiliated with or endorsed by Datadog, Inc. Support: [email protected].
Not on Datadog?
The same data runs our Dynatrace exporter, Grafana dashboard, Zabbix template, Nagios check and the developer API.
All integrations Dynatrace Risk Score methodology