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 has been archived by the owner on May 23, 2023. It is now read-only.
I think the opentracing-go should expose constants for standard opentracing tags, in the same way as the http package exposes constants for status codes. This would be for discoverability, it will also help people new to opentracing, and would also serve as documentation for standard tags.
Proposal
Add constants such as TagComponent = "component" in opentracing package, and update the README/doc to make use of these constants
Use Case
I think the opentracing-go should expose constants for standard opentracing tags, in the same way as the
http
package exposes constants for status codes. This would be for discoverability, it will also help people new to opentracing, and would also serve as documentation for standard tags.Proposal
Add constants such as
TagComponent = "component"
in opentracing package, and update the README/doc to make use of these constantsThe link to the opentracing semantic conventions https://github.com/opentracing/specification/blob/master/semantic_conventions.md#standard-span-tags-and-log-fields
The text was updated successfully, but these errors were encountered: