Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Stop using custom annotations and move them into tags #10

@jcchavezs

Description

@jcchavezs

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.

Ping @adriancole @basvanbeek @bogdandrutu

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions