Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More descriptive operation names #42

Closed
zdicesare opened this issue Aug 22, 2018 · 1 comment
Closed

More descriptive operation names #42

zdicesare opened this issue Aug 22, 2018 · 1 comment

Comments

@zdicesare
Copy link

Currently the span names are set to the method of the request, e.g. POST.

It would be helpful if this were something like: 'HTTP POST api/v1/foo/'
or just included the endpoint.

Alternatively, we could configure the tracer with a function that returns a span name from a request.

@pavolloffay
Copy link
Collaborator

Http verb as operation name is chosen on purpose. Path cannot be used as operation name because one endpoint /user/{id} can produce different operation names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants