EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Gauges specify the "current value" of a metric at a given time. The source DataFrame must have a time_ column of type TIME64NS or the compiler will throw an error.
| Name | Type | Description |
|---|---|---|
| name | string | The name of the metric. Must adhere to [OpenTelemetry's naming conventions](https://opentelemetry.io/docs/reference/specification/metrics/api/#instrument) |
| value | Column | The column that contains the data. Must be either an INT64 or a FLOAT64. |
| description | string, optional | A description of what the metric tracks. |
| attributes | Dict[string, Column|string], optional | A mapping of attribute name to a string or the column that stores data about the attribute. |
| unit | string, optional | The unit string to use for the metric. If not specified, will attempt to use the Semantic Type of the `value` to infer the unit string. |