For the complete documentation index, see llms.txt. This page is also available as Markdown.

Datadog

Connect Datadog to the Pagerly SRE Agent to query logs, metrics, APM traces, and monitors.

What the Agent Can Do

  • Query logs by service, status, and time range

  • Query metrics and create metric comparisons

  • Search APM traces for latency and errors

  • Check monitor status and alert history

  • View dashboards and SLOs

Setup Instructions

  1. Log into your Datadog account

  2. Go to Organization Settings > API Keys

  3. Click + New Key, name it Pagerly, and copy the key

  4. Go to Application Keys tab, click + New Key

  5. Important: Restrict the Application Key to these scopes only:

    • logs_read_data β€” Read log data

    • logs_read_index_data β€” Read log indexes

    • timeseries_query β€” Query metrics

    • metrics_read β€” View metrics

    • monitors_read β€” View monitors

    • dashboard_read β€” View dashboards

  6. For full discovery, also add:

    • infrastructure_host_read β€” View infrastructure hosts

    • service_catalog_read β€” View Service Catalog

    • slos_read β€” View SLOs

  7. Copy the Application Key

  8. Paste your keys and Datadog URL below

Required Credentials

Field
Description
Example

API Key

Datadog API key

your-api-key

Application Key

Datadog Application key with read scopes

your-app-key

Datadog URL

Your Datadog site URL

https://us5.datadoghq.com

Context Prompt Tips

"Our services use service:api-gateway tag. Production env uses env:prod. Error logs are status:error."

Docs

Last updated