Skip to content

[mongo] update the db.statement tag to use the quantized query - #77

Merged
palazzem merged 1 commit into
gpolaert/operation-namefrom
palazzem/mongo-query
Aug 1, 2017
Merged

palazzem merged 1 commit into
gpolaert/operation-namefrom
palazzem/mongo-query

Conversation

@palazzem

@palazzem palazzem commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

Overview

db.statement tag uses the quantized version (currently set as resource name)

@palazzem
palazzem requested a review from gpolaert August 1, 2017 09:48
// add specific resource name and replace the `db.statement` OpenTracing
// tag with the quantized version of the Mongo command
span.setTag(DDTags.RESOURCE_NAME, mongoCmd);
span.setTag(Tags.DB_STATEMENT.getKey(), mongoCmd);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ok because the decorate method is called after the contrib one

@gpolaert

gpolaert commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

+1

@palazzem
palazzem merged commit fd537a7 into gpolaert/operation-name Aug 1, 2017
@palazzem
palazzem deleted the palazzem/mongo-query branch August 1, 2017 09:59
leoromanovsky added a commit that referenced this pull request Nov 19, 2026
ffe-system-test-data main now has the JSON number precision fixture
(#77), so CanonicalFixtureTest runs its two cases again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants