Allow wasm filters to create TextReadout metrics, currently it only supports Counters, Gauges, and Histograms.
Possible use case:
A WASM filter with asynchronous initialization was developed, which fetches necessary configuration data. To allow other components to query the initialization status, the filter sets a gauge metric to signal when initialization is complete. Additionally, we want to expose a TextReadout metric to display an error message if the initialization fails. Currently, the filter logs errors, but we want other components to be able to query the error value directly, instead of searching through logs.
Allow wasm filters to create TextReadout metrics, currently it only supports Counters, Gauges, and Histograms.
Possible use case:
A WASM filter with asynchronous initialization was developed, which fetches necessary configuration data. To allow other components to query the initialization status, the filter sets a gauge metric to signal when initialization is complete. Additionally, we want to expose a TextReadout metric to display an error message if the initialization fails. Currently, the filter logs errors, but we want other components to be able to query the error value directly, instead of searching through logs.