MetricHeader
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["Metric columns in reports are defined by a JSON representation with a `name` and a `type`."],["Metrics used only in filters or expressions do not generate visible columns or headers in the report."],["The `name` field is a string identifying the metric, while the `type` field specifies the metric's data type using the MetricType enum."]]],["Metric columns in a report are generated for visible metrics, appearing in both rows and headers. Metrics used solely in filters or expressions are excluded from report columns and headers. Each metric is defined by its `name` (a string) and `type`, which is an enumerated data type (`MetricType`). The JSON representation for a metric includes these two properties.\n"]]