Visitar URL original
fix(bigtable): Ignore errors while creating monitoring client and disable metrics by bhshkh · Pull Request #12708 · googleapis/google-cloud-go · GitHub
Skip to content

fix(bigtable): Ignore errors while creating monitoring client and disable metrics - #12708

Merged
bhshkh merged 3 commits into
googleapis:mainfrom
bhshkh:feature/cbt-handle-errors
Aug 18, 2025
Merged

bhshkh merged 3 commits into
googleapis:mainfrom
bhshkh:feature/cbt-handle-errors

Conversation

@bhshkh

@bhshkh bhshkh commented Aug 14, 2025 •

Copy link
Copy Markdown
Contributor

Any errors during creating monitoring client should not disrupt the normal functioning of the client. swallow all such errors

Context: b/432819321

@bhshkh
bhshkh requested review from a team August 14, 2025 08:20
@product-auto-label product-auto-label Bot added the api: bigtable Issues related to the Bigtable API. label Aug 14, 2025
@bhshkh bhshkh changed the title feat(bigtable): Swallow all errors from metrics fix(bigtable): Swallow all errors from metrics Aug 14, 2025
@bhshkh bhshkh changed the title fix(bigtable): Swallow all errors from metrics fix(bigtable): Ignore errors while creating monitoring client and disable metrics Aug 15, 2025
@bhshkh
bhshkh enabled auto-merge (squash) August 15, 2025 19:34
Comment thread bigtable/metrics.go
debugTags metric.Int64Counter
}

// Returns error only if metricsProvider is of unknown type. Rest all errors are swallowed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to grok this, maybe meant to say "All other errors are swallowed with metrics disabled"

@bhshkh
bhshkh merged commit 2346cf1 into googleapis:main Aug 18, 2025
@bhshkh
bhshkh deleted the feature/cbt-handle-errors branch August 18, 2025 19:39
@bhshkh bhshkh linked an issue Sep 30, 2025 that may be closed by this pull request
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 Bigtable API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bigtable: Client side metrics error handling

2 participants