Skip to content

Commit

Permalink
Merge branch 'release/1.15.x' into jm/1.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret authored Jun 27, 2023
2 parents a92dd87 + e72edb4 commit ff7392a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/17888.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
connect: Add capture group labels from Envoy cluster FQDNs to Envoy exported metric labels
```
3 changes: 2 additions & 1 deletion command/connect/envoy/bootstrap_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,8 @@ func appendTelemetryCollectorConfig(args *BootstrapTplArgs, telemetryCollectorBi
"envoy_grpc": {
"cluster_name": "consul_telemetry_collector_loopback"
}
}
},
"emit_tags_as_labels": true
}
}`

Expand Down
6 changes: 4 additions & 2 deletions command/connect/envoy/bootstrap_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,8 @@ const (
"envoy_grpc": {
"cluster_name": "consul_telemetry_collector_loopback"
}
}
},
"emit_tags_as_labels": true
}
}`

Expand Down Expand Up @@ -635,7 +636,8 @@ func TestBootstrapConfig_ConfigureArgs(t *testing.T) {
"envoy_grpc": {
"cluster_name": "consul_telemetry_collector_loopback"
}
}
},
"emit_tags_as_labels": true
}
}`,
StaticClustersJSON: `{
Expand Down
3 changes: 2 additions & 1 deletion command/connect/envoy/testdata/telemetry-collector.golden
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
"envoy_grpc": {
"cluster_name": "consul_telemetry_collector_loopback"
}
}
},
"emit_tags_as_labels": true
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,7 @@ represents a location outside the Consul cluster. Services can dial destinations
metadata:
name: test-destination
spec:
protocol: tcp
destination:
addresses:
- "test.com"
Expand Down

0 comments on commit ff7392a

Please sign in to comment.