Fix dimension limit on azure_monitor output (#7336)

This commit is contained in:
Daniel Nelson
2020-04-22 16:16:22 -07:00
committed by GitHub
parent 0858b779c6
commit 2799302142

View File

@@ -392,7 +392,7 @@ func translate(m telegraf.Metric, prefix string) (*azureMonitorMetric, error) {
var dimensionValues []string
for _, tag := range m.TagList() {
// Azure custom metrics service supports up to 10 dimensions
if len(dimensionNames) > 10 {
if len(dimensionNames) >= 10 {
continue
}