wresource metrics middleware incompatible with pkg/metrics 0.10.2
bmoylan opened this issue · comments
Brad Moylan commented
See failing build here: https://github.com/palantir/witchcraft-go-server/compare/bm/bump-pkg?expand=1
It looks like we were depending on the behavior before palantir/pkg#153.
We assume that the request context will have tags here: https://github.com/palantir/witchcraft-go-server/blob/v1.6.1/witchcraft/internal/middleware/request.go#L166
This worked previously by setting them here: https://github.com/palantir/witchcraft-go-server/blob/v1.6.1/witchcraft/wresource/resource.go#L92