← Integrations
Live

Datadog + Elido: click logs and click-rate metrics

Each click on a short link becomes a log line in Datadog Logs, and click counts are flushed every 60 seconds as the elido.clicks metrics. You paste an API key and pick your Datadog site. There is no OAuth.

Was Sie tun können

What the Datadog integration does today

A log per click
The click-ingester posts one log to the Datadog Logs intake (ddsource elido, service click-ingester) with slug, country, device, destination, IP and timestamp. A failed delivery is retried once, then dropped.
Click-rate metrics
Clicks are counted in memory and flushed every 60 seconds as gauges: elido.clicks, elido.clicks_by_country and elido.clicks_by_device, tagged with the workspace id.
Any Datadog site
The site defaults to datadoghq.com. Set datadoghq.eu or another site and both logs and metrics use it.
Key encrypted at rest
The API key is stored encrypted (AES-256-GCM) and shown masked. Removing the integration scrubs it.

How it works

Two outbound paths from the click-ingester

The logs path posts one event per click. The metrics path adds the click to a per-workspace counter and flushes it once a minute, so a busy workspace does not create a metric point per click. Nothing runs on the redirect path, and Elido does not read anything back from Datadog.

1
Visitor clicks

The edge serves the redirect and publishes a click event.

2
Click-ingester

Writes to ClickHouse, sends the log, and bumps the metric counter.

3
Datadog

The log arrives at once. The metric points arrive at the next 60-second flush.

Setup guide

Connect in two steps

  1. 1
    Create an API key

    In Datadog open Organization settings, API keys and create a key. Note your Datadog site (for example datadoghq.com or datadoghq.eu).

  2. 2
    Paste it in Elido

    Dashboard, Integrations, Datadog: paste the key, enter the site if it is not datadoghq.com, save, then press Test connection. Saving needs a workspace role with the conversions-manage permission. New settings reach the click-ingester within about 5 minutes (its config cache).

Authentication

API key, no OAuth

Datadog is connected with an API key. Elido encrypts it with AES-256-GCM before storage and returns it masked. Remove the integration from the dashboard to scrub it, and revoke the key in Datadog if you no longer need it.

Planned

Not built yet

  • Redirect latency metrics: only click counts are sent, not edge latency.
  • Prebuilt Datadog dashboards or monitors: Elido does not create any in your account.
  • Per-link or per-tag filtering: forwarding is per workspace, all links.
  • Delivery guarantees for metrics: counts held in memory are lost on a crash, and a failed flush is not replayed.

Frequently asked questions

Does Elido read my Datadog data?+

No. The integration only sends logs and metrics.

Which metrics are sent?+

elido.clicks, elido.clicks_by_country and elido.clicks_by_device, as per-minute gauges tagged with workspace_id, vendor:elido and service:click-ingester.

Does it include the visitor IP?+

Yes, the ip attribute is part of each log line. Check your retention and privacy settings in Datadog.

Can I get redirect latency in Datadog?+

Not through this integration. It sends click logs and click counts only.

What if Datadog is down?+

Logs are retried once after a second, then dropped. Metric points for a failed flush are not replayed. Clicks remain in Elido analytics.

How do I remove it?+

Dashboard, Integrations, Datadog, Remove. The integration is disabled and the stored key scrubbed.

Send your click data to Datadog

Start free. No card required.