Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Spanner IO Request Count metrics #21635

Closed
damccorm opened this issue Jun 5, 2022 · 2 comments
Closed

Incorrect Spanner IO Request Count metrics #21635

damccorm opened this issue Jun 5, 2022 · 2 comments

Comments

@damccorm
Copy link
Contributor

damccorm commented Jun 5, 2022

IO request count metrics calculated incorrectly for GCP Spanner

 

Resource ID is formulated incorrectly

Spanner Table:

//spanner.googleapis.com/projects/\{projectId}/{*}topics{*}/\{databaseId}/tables/\{tableId}

should be

//spanner.googleapis.com/projects/\{projectId}/instances/\{instanceId}/databases/\{databaseId}/tables/\{tableId}

and is populated incorrectly – instance ID is used in place of tableID

Spanner SQL Query:

//spanner.googleapis.com/projects/\{projectId}/queries/\{queryName} 
should be
{}//spanner.googleapis.com/projects/\{projectId}/{}{}instances/\{instanceId}/queries{}{}/\{queryName} {}

and queryName is nullable which cause issued downstream
this is not actually populated at all - queries are logged as reads on an instance. 

Imported from Jira BEAM-14121. Original Jira may contain additional context.
Reported by: nielm.

@damccorm
Copy link
Contributor Author

damccorm commented Jun 5, 2022

Unable to assign user @nielm. If able, self-assign, otherwise tag @damccorm so that he can assign you. Because of GitHub's spam prevention system, your activity is required to enable assignment in this repo.

@kennknowles
Copy link
Member

PR claims to have fixed this one.

@github-actions github-actions bot added this to the 2.61.0 Release milestone Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants