You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
Zipkin provides a set of idiomatic annotations for server/client events described in https://zipkin.io/pages/instrumenting.html#core-data-structures. The current annotations Received xxx bytes are more suitable with tags as the timestamp does not provide any value more than the server start and server finish.
Describe the solution you'd like
Move the request/response size data into idiomatic tags and only keep core annotations:
/** The size of the non-empty HTTP request body, in bytes. Ex. "16384" * * Large uploads can exceed limits or contribute directly to latency. */
const string HTTP_REQUEST_SIZE = "http.request.size"
/** The size of the non-empty HTTP response body, in bytes. Ex. "16384" * * Large downloads can exceed limits or contribute directly to latency. */
const string HTTP_RESPONSE_SIZE = "http.response.size"
I am more than happy to come up with a PR for this.