[ https://issues.apache.org/jira/browse/BEAM-14121?focusedWorklogId=771372&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-771372 ]
ASF GitHub Bot logged work on BEAM-14121: ----------------------------------------- Author: ASF GitHub Bot Created on: 17/May/22 14:08 Start Date: 17/May/22 14:08 Worklog Time Spent: 10m Work Description: chamikaramj commented on PR #17335: URL: https://github.com/apache/beam/pull/17335#issuecomment-1128918833 Ack. Thanks Niel. Issue Time Tracking ------------------- Worklog Id: (was: 771372) Remaining Estimate: 37h 20m (was: 37.5h) Time Spent: 2h 40m (was: 2.5h) > Incorrect Spanner IO Request Count metrics > ------------------------------------------ > > Key: BEAM-14121 > URL: https://issues.apache.org/jira/browse/BEAM-14121 > Project: Beam > Issue Type: Bug > Components: io-java-gcp > Affects Versions: 2.34.0 > Reporter: Niel Markwick > Assignee: Niel Markwick > Priority: P2 > Labels: google-cloud-spanner > Original Estimate: 40h > Time Spent: 2h 40m > Remaining Estimate: 37h 20m > > 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. -- This message was sent by Atlassian Jira (v8.20.7#820007)