mirror of https://github.com/hashicorp/consul
Backport of Add emit_tags_as_labels to envoy bootstrap config when using Consul Telemetry Collector into release/1.16.x (#17901)
* backport of commitpull/17907/head94584cf540
* backport of commitaed6a00693
* backport of commit2eb7a2a067
--------- Co-authored-by: josh <josh.timmons@hashicorp.com>
parent
0f2bbb9f3b
commit
02e895e10b
|
@ -0,0 +1,3 @@
|
|||
```release-note:improvement
|
||||
connect: Add capture group labels from Envoy cluster FQDNs to Envoy exported metric labels
|
||||
```
|
|
@ -847,7 +847,8 @@ func appendTelemetryCollectorConfig(args *BootstrapTplArgs, telemetryCollectorBi
|
|||
"envoy_grpc": {
|
||||
"cluster_name": "consul_telemetry_collector_loopback"
|
||||
}
|
||||
}
|
||||
},
|
||||
"emit_tags_as_labels": true
|
||||
}
|
||||
}`
|
||||
|
||||
|
|
|
@ -539,7 +539,8 @@ const (
|
|||
"envoy_grpc": {
|
||||
"cluster_name": "consul_telemetry_collector_loopback"
|
||||
}
|
||||
}
|
||||
},
|
||||
"emit_tags_as_labels": true
|
||||
}
|
||||
}`
|
||||
|
||||
|
@ -638,7 +639,8 @@ func TestBootstrapConfig_ConfigureArgs(t *testing.T) {
|
|||
"envoy_grpc": {
|
||||
"cluster_name": "consul_telemetry_collector_loopback"
|
||||
}
|
||||
}
|
||||
},
|
||||
"emit_tags_as_labels": true
|
||||
}
|
||||
}`,
|
||||
StaticClustersJSON: `{
|
||||
|
|
|
@ -89,7 +89,8 @@
|
|||
"envoy_grpc": {
|
||||
"cluster_name": "consul_telemetry_collector_loopback"
|
||||
}
|
||||
}
|
||||
},
|
||||
"emit_tags_as_labels": true
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue