Fix match expression in the TCP metrics guide (#2730)

The destination.service attribute is being deprecated in the favor of
destination.service.host. This commit updates the match expression in
the TCP metrics guide to reflect the same.

Signed-off-by: Venil Noronha <veniln@vmware.com>
This commit is contained in:
Venil Noronha 2018-10-04 06:23:23 -07:00 committed by Martin Taillefer
parent 627de1ab7b
commit 175ed72aaa
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ will generate and collect automatically.
namespace: default
spec:
match: context.protocol == "tcp"
&& destination.service == "mongodb.default.svc.cluster.local"
&& destination.service.host == "mongodb.default.svc.cluster.local"
actions:
- handler: mongohandler.prometheus
instances:

View File

@ -81,7 +81,7 @@ keywords: [遥测,指标,tcp]
namespace: default
spec:
match: context.protocol == "tcp"
&& destination.service == "mongodb.default.svc.cluster.local"
&& destination.service.host == "mongodb.default.svc.cluster.local"
actions:
- handler: mongohandler.prometheus
instances: