damccorm opened a new issue, #21635:
URL: https://github.com/apache/beam/issues/21635

   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](https://issues.apache.org/jira/browse/BEAM-14121). Original Jira 
may contain additional context.
   Reported by: nielm.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to