infra-integrations-sdk
infra-integrations-sdk copied to clipboard
Dimensions should be type: string, number or boolean
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.