tetratelabs/proxy-wasm-go-sdk

how to set label on the metrics

zshmmm opened this issue · 4 comments

zshmmm commented
how to set label on the metrics

answered above ^ and please follow the issue template next time.

zshmmm commented

answered above ^ and please follow the issue template next time.
@mathetake

This solution uses string concatenation and then completes it through envoy filter's stats_config. In the case of a large number of tags, this approach is not user-friendly. Moreover, if the values of the tags contain special characters such as (.: /), this method cannot handle them because they will be converted to _.

This is not the specific issue of SDK, but the general implementation of Envoy, not limited to Wasm at all. Please refer to the envoy community slack.