A metric to submit to Datadog. See Datadog metrics.

Hierarchy

  • MetricSeries

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
interval?: number

If the type of the metric is rate or count, define the corresponding interval in seconds.

metadata?: v2.MetricMetadata

Metadata for the metric.

metric: string

The name of the timeseries.

points: MetricPoint[]

Points relating to a metric. All points must be objects with timestamp and a scalar value (cannot be a string). Timestamps should be in POSIX time in seconds, and cannot be more than ten minutes in the future or more than one hour in the past.

resources?: MetricResource[]

A list of resources to associate with this metric.

sourceTypeName?: string

The source type name.

tags?: string[]

A list of tags associated with the metric.

The type of metric. The available types are 0 (unspecified), 1 (count), 2 (rate), and 3 (gauge).

unit?: string

The unit of point value.

Generated using TypeDoc