{
"drop_rule": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"drop_nan_value": true,
"filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"mode": "ENABLED",
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"value_based_drop": {
"enabled": true,
"target_drop_value": 123
}
}
}{
"drop_rule": {
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"drop_nan_value": true,
"filters": [
{
"name": "job",
"value_glob": "myservice*"
}
],
"mode": "ENABLED",
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"value_based_drop": {
"enabled": true,
"target_drop_value": 123
}
}
}Chronosphere API token
The DropRule to create.
Show child attributes
The name of the DropRule. You can modify this value after the DropRule is created.
Drops data points if values are Not a Number (NaN). If set to true, Chronosphere drops NaN data points, along with any published staleness markers. See the drop rules documentation for more information.
Defines the conditions that determine whether to drop a metric. Drop rules can have multiple filter conditions on different labels, making it possible to drop a subset of the series matching a particular metric name.
If set to DISABLED, then the rule isn't applied when ingesting data points
and metrics won't be dropped on the basis of this rule.
ENABLED, DISABLED, PREVIEW The unique identifier of the DropRule. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the DropRule is created.
Drops metrics based on values of 0 or 1. This type of drop rule can
significantly reduce data points per second, but changes metrics from continuous
series to sparse metrics. Adding a rule of this type can change the behavior of
existing monitors or dashboards that use the target metric.
If true, validates the specified configuration without creating the DropRule. If the specified configuration is valid, the endpoint returns a partial response without the DropRule. If the specified configuration is invalid, the endpoint returns an error.
A successful response containing the created DropRule.
Show child attributes
The name of the DropRule. You can modify this value after the DropRule is created.
Timestamp of when the DropRule was created. Cannot be set by clients.
Drops data points if values are Not a Number (NaN). If set to true, Chronosphere drops NaN data points, along with any published staleness markers. See the drop rules documentation for more information.
Defines the conditions that determine whether to drop a metric. Drop rules can have multiple filter conditions on different labels, making it possible to drop a subset of the series matching a particular metric name.
If set to DISABLED, then the rule isn't applied when ingesting data points
and metrics won't be dropped on the basis of this rule.
ENABLED, DISABLED, PREVIEW The unique identifier of the DropRule. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the DropRule is created.
Timestamp of when the DropRule was last updated. Cannot be set by clients.
Drops metrics based on values of 0 or 1. This type of drop rule can
significantly reduce data points per second, but changes metrics from continuous
series to sparse metrics. Adding a rule of this type can change the behavior of
existing monitors or dashboards that use the target metric.