Change text to use source/target terminology in events and metrics
Change terminology from local/remote to source/target in events and metrics.
This does not change any variable, function, struct, or field names since
testing is still improving
@@ -9,7 +9,7 @@ import (
const (
gatewayNameLabel = "gateway_name"
gatewayNamespaceLabel = "gateway_namespace"
- gatewayClusterName = "remote_cluster_name"
+ gatewayClusterName = "target_cluster_name"
eventTypeLabelName = "event_type"
probeSuccessfulLabel = "probe_successful"
)
@@ -67,7 +67,7 @@ func newProbeMetricVecs() probeMetricVecs {
latencies := promauto.NewHistogramVec(
prometheus.HistogramOpts{
Name: "gateway_probe_latency_ms",
- Help: "A histogram of latencies to a remote gateway.",
+ Help: "A histogram of latencies to a gateway in a target cluster.",
Buckets: []float64{
1, 2, 3, 4, 5,
10, 20, 30, 40, 50,
