RousselTMLEARNING

Observability

Datadog platform architecture: sites, organizations, keys and data model

Understand Datadog's architecture: data sources (agent, cloud integrations, SDKs, OpenTelemetry), regional sites, organizations, API and application keys, unified tagging and per-product billing.

1. Overview #

One SaaS platform, several products.

Architecture #

Datadog platform architecture

Datadog is a SaaS platform: there is nothing to host on the server side. Data arrives through the agent (installed on hosts and Kubernetes nodes), cloud integrations (reading the AWS, Azure, GCP APIs), SDKs (APM, RUM, mobile) or OpenTelemetry. All products share the same model: timestamped data and tags.

2. Sites and organizations #

Where data lives.

Sites #

SiteDomainRegion
US1datadoghq.comUnited States
US3us3.datadoghq.comUnited States
US5us5.datadoghq.comUnited States
EU1datadoghq.euEurope (Germany)
AP1ap1.datadoghq.comJapan
US1-FEDddog-gov.comUS government
Common mistake: The site is chosen when the organization is created and cannot be changed afterwards. For data subject to GDPR, choose EU1 from the start, and set DD_SITE=datadoghq.eu everywhere: an agent configured for the wrong site sends its data into the void.

An organization groups users, data and billing. Large companies use child organizations per entity, attached to a parent organization for billing.

3. Keys #

Securing access.

Keys and tokens #

API key, application key and client token
  • One API key per use case (production, staging, CI), so that one can be revoked without breaking everything.
  • Application keys inherit their user's permissions: prefer service accounts for automation, with limited scopes.
  • The client token is public by nature (it is in the JavaScript code): it only allows sending RUM and browser log data.

4. The data model #

Everything goes through tags.

Unified tagging #

Unified service tagging relies on three reserved tags, set the same way everywhere: env, service, version. They link a metric, a log, a trace and a RUM session of the same service.

ProductWhat is billed (rough idea)
InfrastructureMonitored hosts, containers beyond the quota, custom metrics
APMAPM hosts, indexed spans beyond the quota
LogsIngested volume and indexed volume (by retention)
RUM, SyntheticsSessions, test runs
Good to know: Each product has its own billing model: the « Costs and governance » article in this course details how to track and control consumption.

Related articles

Time-based vs event-based SLO: understanding, computing and choosing (with the Qonto example)

Differences between time-based SLOs (time slices, uptime) and event-based SLOs (good events over total): defi…

The observability trilemma: cost, completeness and performance, and how solutions resolve it

Understanding the observability trilemma (cost, data completeness, query performance), its three trade-offs, …

Datadog on Kubernetes: Operator, Cluster Agent and Autodiscovery

Monitor Kubernetes with Datadog: the Datadog Operator and the DatadogAgent resource, Cluster Agent, annotatio…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!