Builder

class Builder

Properties

Link copied to clipboard

The field to aggregate.

Link copied to clipboard

The type of the aggregation query.

Link copied to clipboard

The fleet metric description.

Link copied to clipboard

The name of the index to search.

Link copied to clipboard

The name of the fleet metric to create.

Link copied to clipboard
var period: Int?

The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

Link copied to clipboard

The search query string.

Link copied to clipboard

The query version.

Link copied to clipboard
var tags: List<Tag>?

Metadata, which can be used to manage the fleet metric.

Link copied to clipboard

Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric. Default to null.

Functions

Link copied to clipboard