Company News

Datadog explained: metrics, traces, logs and cloud security

Datadog brings metrics, traces and logs together so teams can investigate faults that cross application and infrastructure boundaries. If a checkout starts timing out, a metric can show when the problem began. A trace can show which part of a request took longest. A log may record the error from that part of the application. Each signal answers a different question, and the connection between them is useful only when the services involved send enough context to identify the same incident.

The platform serves software developers, operations teams and cloud security teams. Datadog’s company information identifies Olivier Pomel and Alexis Lê-Quôc as co-founders and describes their earlier work in software engineering and operations. That combination is visible in a product that lets teams examine application behaviour alongside the infrastructure on which the application depends. The work still starts with deciding what evidence a team needs and who will act on it.

Metrics tell you which behaviour changed

A metric is a measurement taken over time. Request volume, the share of requests ending in errors and the time spent waiting for a response can each show a different side of an incident. If the volume falls at the same time as error rates rise, a team has a different starting point from an investigation in which request volume holds steady but response times increase. Compare the same service and environment across both periods. Combining production and testing traffic can make a change hard to see.

A service-level view helps set priorities, but an aggregate can hide a problem that only affects one release, route or group of requests. A useful dashboard lets the on-call team narrow the measurement to a dimension it can act on. It also makes it clear what is being measured. An error rate calculated from requests reaching a service may miss requests that fail before reaching it. A separate Datadog synthetic monitoring test can exercise a user journey from outside the application and expose gaps like that.

Traces show the path through an application

A trace records a request’s path through instrumented services. A span represents a unit of work within that trace, such as a database query or a call to a downstream service. Datadog’s Application Performance Monitoring documentation describes how teams can inspect these paths with Trace Explorer. The application and relevant dependencies need instrumentation, meaning software that captures and sends this information. A missing span may reflect a gap in collection. It does not tell the team how much time the uninstrumented system spent on the request.

If checkout times are rising, an engineer can look for a slow span and compare several affected requests. One slow dependency call provides a lead, while repeated delays in the same operation can help the team decide where to investigate next. A trace also gives the engineer a way to distinguish time spent in the checkout code from time spent waiting elsewhere. Our Datadog APM guide covers the tracing workflow in more detail.

Logs add event details when the identifiers match

Logs are records written by applications and infrastructure. They can include an error message, a response code or the outcome of a background job. The Datadog Logs guide describes the collection and processing steps. For an investigation, a team needs records that are available for the relevant period and carry enough information to narrow the search. A generic message logged by dozens of services offers less context than a record that identifies the service, environment and operation involved.

Datadog documents three reserved tags in its Unified Service Tagging guide. The tags identify the environment, service and version as env, service and version. Using the same values across telemetry helps a team move between records collected from the same release. Those tags describe a group of records. To match a log to one particular request, check whether the application sends the trace identifier with the log and whether the integration recognises it.

Collection decisions affect both investigations and operating cost. A team should check which logs are indexed, how long it can search them and who has access to them. Test with representative traffic because a quiet trial may not reveal how much noisy logging arrives during a deployment or service failure. Review fields before sending them, particularly where application logs are liable to include identifiers or sensitive request details.

Cloud security adds a separate investigation workflow

Datadog’s Cloud Security setup guide separates deployment, customisation and reporting. It documents both agentless and Agent-based collection routes, with prerequisites depending on the selected capability. A cloud security finding can help direct attention to the account, resource or workload involved. The team still needs to check the scope of the finding and decide which owner is responsible for reviewing it.

A useful evaluation starts with a defined set of cloud accounts and workloads. Record which environments are connected and which are outside the trial. Then check whether the right team can see a finding and whether it can tell which resource is involved. An application incident and a security finding can arise in the same environment, but they answer different questions. Keep the handover and escalation decisions clear so neither team assumes the other is investigating.

What a trial needs to prove

For a South African engineering team, a practical trial follows one representative customer request from the browser to the back end. Check whether the service labels stay consistent, whether the trace includes the dependencies that matter, and whether the team can reach a relevant log without searching by guesswork. Then repeat the exercise with a known fault in a controlled environment and ask a colleague unfamiliar with the setup to find the evidence.

Before extending the trial, record the expected collection volume, retention period, access controls and proposed processing location. Confirm what is included in the chosen modules and what the organisation will need to configure itself. The decision is easier when the people who will handle an incident can show which evidence they can reach and explain what it would let them do next.