roger-mike commented on a change in pull request #14770:
URL: https://github.com/apache/beam/pull/14770#discussion_r635551281
##########
File path: sdks/python/apache_beam/io/gcp/gcsio.py
##########
@@ -643,9 +665,23 @@ def _start_upload(self):
#
# The uploader by default transfers data in chunks of 1024 * 1024 bytes at
# a time, buffering writes until that size is reached.
+
+ # Create a request count metric
+ resource = resource_identifiers.GoogleCloudStorage(self._bucket)
+ labels = {
+ monitoring_infos.SERVICE_LABEL: 'Storage',
Review comment:
I debugged it and also logged it but it seems that the `acl` is empty,
so I couldn't get the project.
`
<Object
acl: []
bucket: 'gcsio-metrics-test'
generation: 1
name: 'dummy_mode_file'
size: 5242980>
`
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]