-
Notifications
You must be signed in to change notification settings - Fork 89
Add support for dimension fields #215
Description
Dimensions in time series databases are used to identify different time series. Metrics in documents with the same set of dimensions are considered the same time serie. Metrics with different set of dimensions are different time series.
This is specially relevant relevant when querying time series.
There is an effort in Elasticsearch to include dimensions as first-class citizens (see elastic/elasticsearch#74014, elastic/elasticsearch#74450), what will have advantages when storing and consuming time series data. To leverage these features in integrations, their dimensions should be properly defined.
For that we could add a new boolean property "dimension". Fields with this property set to true will be considered dimensions, any other field will be considered fields, or tags in the case of other metadata.
Not all types of metrics can be dimensions (to confirm what types can be dimensions).