Skip to content

Commit

Permalink
Also rename Durable Objects
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi committed May 8, 2024
1 parent e716836 commit 5ae704f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/pretty-coins-promise.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@microlabs/otel-cf-workers": minor
---

[Breaking] Rename client fetch and service binding spans
[Breaking] Rename durable object fetch, client fetch and service binding spans
2 changes: 1 addition & 1 deletion src/instrumentation/do.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function instrumentBindingStub(stub: DurableObjectStub, nsName: string): Durable
if (prop === 'fetch') {
const fetcher = Reflect.get(target, prop)
const attrs = {
name: `durable_object:${nsName}`,
name: `Durable Object ${nsName}`,
'do.namespace': nsName,
'do.id': target.id.toString(),
'do.id.name': target.id.name,
Expand Down

0 comments on commit 5ae704f

Please sign in to comment.