Metric - Go SDK

Metric type definition

The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
DisplayFormatoperations.DisplayFormat✔️How this metric value should be formatted for display (e.g. percent → multiply by 100 and append %, currency → prefix with $)number
DisplayLabelstring✔️Human-readable labelRequest Count
IsRatebool✔️Whether this metric is a rate/ratio (averaged, not summed)
Namestring✔️Metric identifier used in query requestsrequest_count