Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit 40bfd69

Browse files
committed
update comment
1 parent 74c071d commit 40bfd69

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/metrics/BigtableExporterUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ class BigtableExporterUtils {
100100
ImmutableSet.of(
101101
BIGTABLE_PROJECT_ID_KEY, INSTANCE_ID_KEY, TABLE_ID_KEY, CLUSTER_ID_KEY, ZONE_ID_KEY);
102102

103-
// These labels are defined on the Bigtable client resource. It's hard coded when we create the
104-
// internal exporter for connection level metrics. For request level metrics, these attributes
105-
// are updated with the actual value from the request and we use them to update the monitored
106-
// schema. This is needed for BigtableDataClientFactory, when the otel instance is created with
107-
// one instance / app profile but the actual call is on a different instance / app profile.
103+
// These labels are defined on the bigtable_client monitored resource. For connection level
104+
// metrics, they are hard coded from the settings when we create the internal otel. For per
105+
// request metrics, we update the values of these fields with the values from metrics label.
106+
// This is needed for BigtableDataClientFactory when the otel instance is created with the
107+
// shared settings and the clients are created with different instances / app profile ids.
108108
private static final Set<AttributeKey<String>> BIGTABLE_CLIENT_RESOURCE_LABEL =
109109
ImmutableSet.of(BIGTABLE_PROJECT_ID_KEY, INSTANCE_ID_KEY, APP_PROFILE_KEY);
110110

0 commit comments

Comments
 (0)