1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Metrics Endpoints
//!
//! ## Overview
//!
//! The metrics endpoints, as described in the [Datadog Documentation](https://docs.datadoghq.com/api/latest/metrics/?code-lang=curl):
//!
//! ```md
//! - Post metrics data so it can be graphed on Datadog’s dashboards
//! - Query metrics from any time period
//! - Modify tag configurations for metrics
//! - View tags and volumes for metrics
//! ```
//!
//! Further, note that a graph can only contain a set number of points and as the timeframe over which a metric is viewed increases, aggregation between points occurs to stay below that set number.
/// Metric to create a new tag configuration
/// `v2/metrics/{metric_name}/tags` Endpoint [POST]
/// Metric to post series data
/// `v2/series` Endpoint [POST]
/// Metric to post distribution points
/// `v1/distribution_points` Endpoint [POST]
/// Metric to get an active metrics list
/// `v1/metrics` Endpoint [GET]
/// Re-exported prelude of all metrics-related endpoints