slashmo / gsoc-swift-tracing

WIP collection of Swift libraries enabling Tracing on Swift (Server) systems.
https://summerofcode.withgoogle.com/projects/#6092707967008768
Apache License 2.0
20 stars 1 forks source link

Backwards-compatible SpanAttribute string constants #132

Closed slashmo closed 4 years ago

slashmo commented 4 years ago

Since we added Swift >= 5.0 support our semantic Span attributes (which are >= 5.2-only) cannot be used in libraries that make use of this backward-compatibility. Therefore, we want to expose string constants for the attribute keys that can be used with any Swift version. We'll then reuse these constants when defining the 5.2-only type-safe attributes.