mirror of https://github.com/istio/istio.io.git
				
				
				
			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:
		
							parent
							
								
									627de1ab7b
								
							
						
					
					
						commit
						175ed72aaa
					
				|  | @ -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: | ||||
|  |  | |||
|  | @ -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: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue