envoyproxy/envoy

Exposing Wasm VM state in a health check endpoint

Open

#34.881 geöffnet am 25. Juni 2024

Auf GitHub ansehen
 (3 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/wasmhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

Title: Exposing Wasm VM state in a health check endpoint

Description: Any unrecoverable error in the Wasm VM will panic it, and all coming requests will get 503. Users have to reload the wasm filter or restart the envoy process to eliminate the issue.

I didn't find any specific mechanism/API from Envoy documents that can help users identify the status of the Wasm VM. This is useful for building a liveness probe to have the envoy process restart without any human interaction.

Thank you!

Contributor Guide