diff --git a/agent/consul/usagemetrics/usagemetrics_oss_test.go b/agent/consul/usagemetrics/usagemetrics_oss_test.go index 539674e95f..4be19d2d28 100644 --- a/agent/consul/usagemetrics/usagemetrics_oss_test.go +++ b/agent/consul/usagemetrics/usagemetrics_oss_test.go @@ -504,17 +504,17 @@ var baseCases = map[string]testCase{ {Name: "kind", Value: "control-plane-request-limit"}, }, }, - "consul.usage.test.consul.version;version=1.7.0;pre_release=dev": { // Legacy + "consul.usage.test.consul.version;version=1.17.0;pre_release=dev": { // Legacy Name: "consul.usage.test.consul.version", - Value: 1, + Value: 0, Labels: []metrics.Label{ {Name: "version", Value: "1.17.0"}, {Name: "pre_release", Value: "dev"}, }, }, - "consul.usage.test.version;version=1.7.0;pre_release=dev": { + "consul.usage.test.version;version=1.17.0;pre_release=dev": { Name: "consul.usage.test.version", - Value: 1, + Value: 0, Labels: []metrics.Label{ {Name: "version", Value: "1.17.0"}, {Name: "pre_release", Value: "dev"}, @@ -1011,6 +1011,14 @@ var baseCases = map[string]testCase{ {Name: "kind", Value: "control-plane-request-limit"}, }, }, + "consul.usage.test.consul.version;version=1.17.0;pre_release=dev": { //legacy + Name: "consul.usage.test.consul.version", + Value: 0, + Labels: []metrics.Label{ + {Name: "version", Value: "1.17.0"}, + {Name: "pre_release", Value: "dev"}, + }, + }, "consul.usage.test.version;version=1.17.0;pre_release=dev": { Name: "consul.usage.test.version", Value: 0,