This is not the latest version of Linkerd!
This documentation is for an older version of Linkerd. In Linkerd 2.12 (current), this document no longer exists.

tap

Listen to a traffic stream for a resource.

Examples

# tap the web deployment in the default namespace
linkerd tap deploy/web

# tap the web-dlbvj pod in the default namespace
linkerd tap pod/web-dlbvj

# tap the test namespace, filter by request to prod namespace
linkerd tap ns/test --to ns/prod

Flags

FlagUsage
--authorityDisplay requests with this :authority
--max-rpsMaximum requests per second to tap.
--methodDisplay requests with this HTTP method
--namespace
-n
Namespace of the specified resource
--output
-o
Output format. One of: “wide”, “json”
--pathDisplay requests with paths that start with this prefix
--schemeDisplay requests with this scheme
--toDisplay requests to this resource
--to-namespaceSets the namespace used to lookup the “–to” resource; by default the current “–namespace” is used