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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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