Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix wrong attribute used
  • Loading branch information
Lms24 committed Dec 13, 2024
commit f4a3e89f234552a48359de88c829329a2f9eaa88
2 changes: 1 addition & 1 deletion packages/opentelemetry/src/utils/parseSpanDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function parseSpanDescription(span: AbstractSpan): SpanDescription {

function descriptionForDbSystem({ attributes, name }: { attributes: Attributes; name: string }): SpanDescription {
// if we already have a custom name, we don't overwrite it but only set the op
const userDefinedName = attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];
const userDefinedName = attributes[SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];
if (typeof userDefinedName === 'string') {
return {
op: 'db',
Expand Down
Loading