Skip to content

Commit 7b06cea

Browse files
committed
Don't emit resource: in traces.
1 parent a86b7c0 commit 7b06cea

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/async/http/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def call(request)
9494
attributes["http.protocol"] = protocol
9595
end
9696

97-
Traces.trace("async.http.server.call", resource: "#{request.method} #{request.path}", attributes: attributes) do |span|
97+
Traces.trace("async.http.server.call", attributes: attributes) do |span|
9898
super.tap do |response|
9999
if status = response&.status
100100
span["http.status_code"] = status

releases.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Releases
22

3+
## Unreleased
4+
5+
- Don't emit `resource:` keyword argument in traces - it's unsupported by OpenTelemetry.
6+
37
## v0.88.0
48

59
### Support custom protocols with options

0 commit comments

Comments
 (0)