How do I see TCP load on routes? #5928
-
Hello! 👋🏻 Here's what I've tried/seen so far with the Linkerd dashboard:
Is there a way to see TCP metrics on a route? That would be perfect for my use case. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey 👋 Think you can make use of the cli viz extension to do this. If you're running latest (2.10) you need to install linkerd and then linkerd-viz ( With viz, you can get tcp stats using the cli. Normally, running the command gives you inbound stats for the resource you select; if you use Putting it all together: if we have a microservice
ref: |
Beta Was this translation helpful? Give feedback.
Hey 👋
Think you can make use of the cli viz extension to do this. If you're running latest (2.10) you need to install linkerd and then linkerd-viz (
linkerd viz install | kubectl (..)
).With viz, you can get tcp stats using the cli. Normally, running the command gives you inbound stats for the resource you select; if you use
--from
or--to
you can get outbound stats on it too. For TCP load, you can use the-o wide
flag to get bytes written/read.Putting it all together: if we have a microservice
foo
that talks tobar
we can:linkerd viz stat deploy/bar -o wide
linkerd viz stat deploy/foo -o wide
(note: works with namespaces, deploys, …