July 13, 2022 release notes

OPAL

Auto detect fields for metric interfaces

If your metric dataset has a string field named metric and a float64 field named value, a "metric" interface uses those fields automatically. There is no need to specify them in your statement.

As long as your dataset follows this convention, there is only one required argument, specifying the "metric" interface type:

rename_col metric:myStringName, value:myFloat64Value
interface "metric"

Existing interfaces are not affected. This auto discovery is optional, although for consistency we recommend using metric and value fields in new metric datasets. If the fields containing metric names and values have other names, use the original form:

interface "metric", metric:metricNameField, value:metricValueField