Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

setdb.query.text OpenTelemetry attribute#2061

New issue

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Kludex wants to merge3 commits intogoogleapis:main
base:main
Choose a base branch
Loading
fromKludex:add-db.query.text

Conversation

@Kludex
Copy link

@KludexKludex commentedNov 15, 2024
edited
Loading

samuelcolvin, lvgalvao, jorgemaciel, rafaeljurkfitz, AnaRitaRangel, eraldof, quintelabruno, alanceloth, caiqpereira, ViniPMartins, and 5 more reacted with thumbs up emojiigorferrer-data reacted with rocket emoji
@KludexKludex requested review froma team ascode ownersNovember 15, 2024 10:11
@google-cla
Copy link

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View thisfailed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-labelproduct-auto-labelbot added size: sPull request size is small. api: bigqueryIssues related to the googleapis/python-bigquery API. labelsNov 15, 2024
TEST_SPAN_ATTRIBUTES= {"foo":"baz"}


@pytest.mark.skipif(opentelemetryisNone,reason="Require `opentelemetry`")
Copy link
Author

Choose a reason for hiding this comment

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

It's not possible to add marks to fixtures, this was wrong.

caiqpereira reacted with thumbs up emoji
Comment on lines +162 to +164
query=getattr(job_ref,"query",None)
ifqueryisnotNone:
job_attributes["db.query.text"]=query
Copy link
Author

Choose a reason for hiding this comment

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

"query" is only available when the job is aQueryJob.

caiqpereira reacted with thumbs up emoji
@Kludex
Copy link
Author

I've signed CLA.

caiqpereira reacted with thumbs up emoji

@LinchinLinchin assignedLinchin and unassignedobada-abNov 20, 2024
@LinchinLinchin added the kokoro:runAdd this label to force Kokoro to re-run the tests. labelNov 21, 2024
@yoshi-kokoroyoshi-kokoro removed the kokoro:runAdd this label to force Kokoro to re-run the tests. labelNov 21, 2024
@product-auto-labelproduct-auto-labelbot added size: xsPull request size is extra small. and removed size: sPull request size is small. labelsNov 21, 2024
@KludexKludex changed the titleSetdb.query.text OpenTelemetry attributesetdb.query.text OpenTelemetry attributeNov 21, 2024
@LinchinLinchin added the do not mergeIndicates a pull request not ready for merge, due to either quality or timing. labelNov 22, 2024
@samuelcolvin
Copy link

PLEASE can we get this merged!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@PhongChuongPhongChuongAwaiting requested review from PhongChuongPhongChuong was automatically assigned from googleapis/api-bigquery

At least 1 approving review is required to merge this pull request.

Assignees

@LinchinLinchin

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.do not mergeIndicates a pull request not ready for merge, due to either quality or timing.size: xsPull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[OpenTelemetry] Can we add thedb.query.text attribute to the spans?

5 participants

@Kludex@samuelcolvin@Linchin@yoshi-kokoro@obada-ab

[8]ページ先頭

©2009-2025 Movatter.jp