infra-integrations-sdk icon indicating copy to clipboard operation
infra-integrations-sdk copied to clipboard

Dimensions should be type: string, number or boolean

Open varas opened this issue 4 years ago • 0 comments

Description

According to documentation a dimension/attribute might be a string, number or boolean.

A map of key value pairs associated with this specific metric. Values can be strings, JSON numbers, or booleans. Keys are case-sensitive and must be less than 255 characters.

But we just support string ones https://github.com/newrelic/infra-integrations-sdk/blob/master/data/metric/metrics.go#L19

Expected Behavior

Change metric.Dimensions type.

varas avatar Jan 15 '21 14:01 varas