ValueType

The value type of a metric.

Enums
VALUE_TYPE_UNSPECIFIEDDo not use this default value.
BOOLThe value is a boolean. This value type can be used only if the metric kind isGAUGE.
INT64The value is a signed 64-bit integer.
DOUBLEThe value is a double precision floating point number.
STRINGThe value is a text string. This value type can be used only if the metric kind isGAUGE.
DISTRIBUTIONThe value is aDistribution.
MONEYThe value is money.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.