We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I only found this by mistake. It isn't obvious from the reference documentation how you would use this.
I'm assuming it works as follows.
extension SpanAttribute { var httpMethod: SpanAttributeKey<String> { .init(name: "http.method") } } span.attributes.httpMethod = .string("GET")
Is there anyway to get this to work
func setMethod(_ method: String) { span.attributes.httpMethod = method }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I only found this by mistake. It isn't obvious from the reference documentation how you would use this.
I'm assuming it works as follows.
Is there anyway to get this to work
The text was updated successfully, but these errors were encountered: