Skip to content

Service mesh & networking: Logs

Service mesh & networking commands for logs (tags: #logs #cloudwatch).

Index
2 items

Linkerd1

Linkerd: Tap live requests to a deployment

Safe

Stream individual requests and responses flowing through the proxies.

linkerd viz tap deploy/<deployment> -n <namespace>
What each part does
  1. linkerd viz tapstream live requests and responses passing through the proxies
  2. deploy/<deployment>the deployment to watch
  3. -n <namespace>its namespace

Also known as: linkerd tap

Envoy1

Envoy: Raise the log level at runtime

Caution

Turn on debug logs without a restart. Set it back to info afterwards.

curl -X POST "localhost:<admin-port>/logging?level=debug"
What each part does
  1. curl -X POSTadmin API changes need POST
  2. localhost:<admin-port>/loggingthe logging endpoint
  3. ?level=debugset every logger to debug; set it back to info when done, or use ?<logger>=debug for one

Also known as: envoy debug logs

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…