Datadog is a monitoring service for cloud-scale applications. It combines data from servers, databases, tools, and services to present a unified view of an entire stack. This integration enables you to configure your Postman Monitors to send metrics to Datadog where you can visualize and compare them with other metrics.
Setting up a Datadog integration requires you to get an API key from Datadog and configure your Postman monitors. After you set up the integration, you can view real-time alerts based on the results of your monitors.
You can also view Datadog application performance management (APM) metrics in the Postman API Builder. Viewing APM metrics is a separate integration from sending monitor results to Datadog. Learn more about viewing Datadog APM metrics.
Sign in to Datadog. Open your Organization Settings page and select API Keys.
Select + New Key. Create a name for the new API key, then select Create Key.
Copy the new API key so you can use it later.
From the Home page select Integrations.
Select Browse All Integrations.
Search and select Datadog.
You can select View all for a list of all the integrations created by your team.
Next to Post monitoring results, select Add Integration to start the configuration process.
To send your monitor metrics and events to Datadog:
Select Add Integration.
You can view your configured integrations on the Browse Integrations page. You can also view integrations that have been configured for a monitor by opening the monitor and selecting the information icon in the right sidebar. Learn more about viewing or editing integrations.
When your monitor runs, the data starts flowing into Datadog.
Once the data is present in Datadog, you can filter it based on the monitor name or ID, collection name or UID, user name or ID, and environment name or UID (if present). You can also combine different metrics to create a dashboard.
Postman can forward a wide array of metrics for the specified monitors to Datadog. This table lists the name, type, and level of the metrics, and a description of the metric. For more information on Datadog metric collection, see the Datadog documentation.
Metrics Name | Type | Description | Level |
---|---|---|---|
postman.monitor.run.errors | Gauge | Total number of errors across all requests in a monitoring run | Run |
postman.monitor.run.failed\_tests | Gauge | Total number of failed tests across all requests in a monitoring run | Run |
postman.monitor.run.passed\_tests | Gauge | Total number of passed tests across all requests in a monitoring run | Run |
postman.monitor.run.request\_count | Gauge | Total number of requests in a monitoring run | Run |
postman.monitor.run.total\_latency | Gauge | The total latency time for all requests in a monitoring run | Run |
postman.monitor.run.http\_status\_2xx | Gauge | Total number of requests in a monitoring run that return an HTTP status code in the 200 range | Run |
postman.monitor.run.http\_status\_4xx | Gauge | Total number of requests in a monitoring run that return an HTTP status code in the 400 range | Run |
postman.monitor.run.http\_status\_5xx | Gauge | Total number of requests in a monitoring run that return an HTTP status code in the 500 range | Run |
postman.monitor.request.latency | Gauge | Latency for each request in a monitoring run | Request |
postman.monitor.request.failed\_tests | Gauge | Number of failed tests for each request in a monitoring run | Request |
postman.monitor.request.passed\_tests | Gauge | Number of passed tests for each request in a monitoring run | Request |
postman.monitor.request.bytes | Gauge | Total bytes sent and received for each request in a monitoring run | Request |
Postman sends tags to Datadog along with each metric and event. Tags enable you to filter the metric based on various parameters such as monitor name or collection name. The following tags are sent by Postman to Datadog:
Tag | Description |
---|---|
Region | The region from where the monitor is run |
Triggers | What triggered the monitor run: Manual, Webhook, or Scheduled |
Run results | Successful, Failure, Error, or Abort |
Level | The level the metric is captured for: Run or Request |
Status Code | HTTP response code for the request run |
Job ID | Monitor's Job ID |
Request ID | The request identifier |
Postman is a Datadog Technology Partner, and Postman's integration is listed on the Datadog Integrations page. To enable the partnership, the metrics being emitted by Postman have been renamed as described in the Forwarding metrics section.
If you have integrations created before the integration listing on Datadog, you must update them to take the advantage of the integration listing.
To update existing integrations, do the following:
Go to the Post monitoring results page.
Select the integration you want to upgrade.
Select Update Now, then select Update Integration on the confirmation box to upgrade the integration.
Select Confirm.
The updated integration has the following benefits:
monitor_name
variable to the monitor for which you want to observe the dashboard.
Last modified: 2023/04/21
Additional resources
Videos
Blog posts