Skip to content

Conversation

@mutianf
Copy link
Contributor

@mutianf mutianf commented Jan 6, 2026

The new batch flow control metrics writes to BigtableClient schema. Currently we have 2 otel instances that publishes the metrics:

  • external OTEL: this is set on the tracer factory so per request metrics are recorded on the external OTEL. It publishes to BigtableTable schema.

  • internal OTEL: this is set up on the channel to record connection level metrics. It publishes to BigtableClient schema. We needed a separate internal OTEL instance because for connection level metrics (e.g. grpc metrics), the bigtable resource (project id, instance id) needs to be hard coded on the exporter because it's not a metric label.

New batch flow control metrics is a per request metrics but it publishes to BigtableClient schema. This means we need to add plumbing on the internal OTEL to record per request metrics.

@mutianf mutianf requested review from a team as code owners January 6, 2026 02:39
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/java-bigtable API. labels Jan 6, 2026
kongweihan
kongweihan previously approved these changes Jan 6, 2026
kongweihan
kongweihan previously approved these changes Jan 6, 2026
@mutianf mutianf requested a review from a team as a code owner January 8, 2026 18:42
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jan 8, 2026
@mutianf mutianf changed the title fix: move batch metrics to internal views fix: publish batch flow control metrics Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants