Hanzo
OpenapiO11y

Returns total ingested vs retained series and samples and the estimated monthly…

Returns total ingested vs retained series and samples and the estimated monthly savings across all volume-control rules.

GET /v1/o11y/metric_reduction_rules/stats

Addresshttps://api.hanzo.ai/v1/o11y/metric_reduction_rules/stats
MethodGET
OperationGetMetricReductionRuleStats
AuthAuthorization: Bearer $HANZO_API_KEY

Returns total ingested vs retained series and samples and the estimated monthly savings across all volume-control rules.

Request

GET /v1/o11y/metric_reduction_rules/stats takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200o11y.O11yReductionStatsOutok

200 body — 7 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yReductionStats
data.estimatedMonthlySavingsUsdbodynumberEstimatedMonthlySavingsUsd is the estimated monthly savings, in USD.
data.ingestedSamplesbodyintegerIngestedSamples is how many samples arrived across all rules.
data.ingestedSeriesbodyintegerIngestedSeries is how many series arrived across all rules.
data.retainedSamplesbodyintegerRetainedSamples is how many of them were kept.
data.retainedSeriesbodyintegerRetainedSeries is how many of them were kept.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y metric_reduction_rules stats

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page