envoyproxy/envoy

Unexpected metric names when cluster name contains dot

Open

#5239 aperta il 6 dic 2018

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
bughelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

Title: Unexpected metric names when cluster name contains dot

Description:

When cluster name contains dot, cluster-specific metric names are unexpected.

Repro steps:

Create a cluster with dots in its name, e.g. foo.example.com, and then look for cluster metrics like envoy.cluster.upstream_rq_xx

Expected:

The metric should be named envoy.cluster.upstream_rq_xx with tag envoy_cluster_name=foo.example.com

Actual:

The metric is named envoy.cluster.example.com.upstream_rq_xx with tag envoy_cluster_name=foo

Guida contributor