Closed j2gg0s closed 4 years ago
Thanks for the feature request. This sounds like a valuable feature, however, at this time, most development effort is focused on OpenTelemetry (currently in beta) rather than OpenCensus.
Please take a look at the following OpenTelemetry plugins and see if they fit your use case. If not, please create an issue on the OpenTelemetry boards: https://github.com/open-telemetry/opentelemetry-go/tree/master/instrumentation/othttp https://github.com/open-telemetry/opentelemetry-go-contrib/tree/master/instrumentation/gorilla/mux
With census, I can stats http request easily. Thanks a lot.
I use mux for http router, it support template variable with path. Such as
With this, i got lots of metrics with different tags(http_path). It's meaningless to me.
Maybe census allow me to pass a callback to get path from request? Like this: