Datadog Log Management
usage-basedfull stack
Use it for: Logs need to sit next to APM traces, metrics and many hosts under one vendor.
Tradeoff: Powerful but complex, and the bill grows with ingested and indexed log volume.
Guide ยท Logging
Last reviewed
When an AI feature gives a bad answer or times out, the log line with the request ID, prompt and model error is usually what tells you why. The real choice is between a hosted tool you can search in seconds, a stack you run yourself to control cost, or the logs your cloud already gives you. Log volume grows fast once you record prompts and responses, so think about cost per gigabyte and retention before you pick.
usage-basedfull stack
Use it for: Logs need to sit next to APM traces, metrics and many hosts under one vendor.
Tradeoff: Powerful but complex, and the bill grows with ingested and indexed log volume.
open sourceself-host or Grafana Cloud
Use it for: You already use Grafana dashboards and want logs beside your metrics, self-hosted or on Grafana Cloud.
Tradeoff: Search works best when you plan your labels well; free text search across huge ranges can be slow.
free tierlogsSQL queriesalerts
Use it for: You want to ship logs, search a failing request by ID, and query with SQL, with uptime checks and on-call in the same place.
Tradeoff: Less depth than Datadog for large multi-service setups, and prompt-level LLM tracing still needs a dedicated tool.
free tiereventsusage-based
Use it for: You log a structured event per AI request (model, tokens, latency, error) and want fast queries over lots of it.
Tradeoff: Logs and events first; uptime and on-call live elsewhere.
live tailsimple
Use it for: A few servers or apps where live tailing and quick search is all you need.
Tradeoff: Light on structured querying and dashboards compared with newer tools.
full stackusage-based
Use it for: You already use New Relic APM and want logs linked to the same traces.
Tradeoff: A big platform to learn if logs are all you want from it.
open sourceself-hosted
Use it for: You need full control over data and retention, or prompts cannot leave your infrastructure. Elastic also offers its stack at elastic.co.
Tradeoff: You run, size and upgrade the cluster yourself, and it needs real memory and disk.
built inAWS CloudWatchGoogle Cloud Logging
Use it for: Your app already runs on AWS or Google Cloud and you want logs with no extra setup.
Tradeoff: Search and alerting feel clunkier than dedicated tools, and logs end up split if you use more than one cloud.