Skip to content

beltram/rhis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rhis

An Envoy filter tracing HTTP request/response elements.

Build it

  • Install wasme
  • Login to web-assembly-hub wasme login -u $WASME_USER -p $WASME_PWD
  • Build & deploy cd scripts && sh build.sh v0.1.0

Install it

  • Install wasme
  • Pull OCI image wasme pull webassemblyhub.io/beltram/rhis:v0.1.0
  • Deploy image wasme deploy istio webassemblyhub.io/beltram/rhis:v0.1.0 --id=rhis
  • (Optional) set Envoy log level to info by replacing:
    • <host> by your cluster host
    • <selector> by Pod's you want to inspect
    • into kubectl exec $(kubectl get pod --selector app=<selector> --output jsonpath='{.items[0].metadata.name}') -c istio-proxy -- curl -X POST http://<host>:15000/logging?level=info

Demo

  • cd scripts
  • k3d create --enable-registry --publish 8081:80
  • Bootstrap cluster sh start.sh
  • curl details service sh ping.sh
  • kubectl logs details-<..> -c istio-proxy
  • Prune sh stop.sh

Docs

About

Envoy WASM filter for HTTP logging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages