From 2799302142d3ebf8967107a8dd45431326895954 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Wed, 22 Apr 2020 16:16:22 -0700 Subject: [PATCH] Fix dimension limit on azure_monitor output (#7336) --- plugins/outputs/azure_monitor/azure_monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/outputs/azure_monitor/azure_monitor.go b/plugins/outputs/azure_monitor/azure_monitor.go index 9039d4aa4..f2b1db1dd 100644 --- a/plugins/outputs/azure_monitor/azure_monitor.go +++ b/plugins/outputs/azure_monitor/azure_monitor.go @@ -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 }