René's URL Explorer Experiment


Title: bigtable: `mutations_batcher()` causes "Missing resource_project attribute for metric …" warnings every 60s · Issue #18546 · googleapis/google-cloud-python · GitHub

Open Graph Title: bigtable: `mutations_batcher()` causes "Missing resource_project attribute for metric …" warnings every 60s · Issue #18546 · googleapis/google-cloud-python

X Title: bigtable: `mutations_batcher()` causes "Missing resource_project attribute for metric …" warnings every 60s · Issue #18546 · googleapis/google-cloud-python

Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Once a process has flushed a MutationsBatcher, the built-in client-side metrics exporter logs this warni...

Open Graph Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Once a process has flushed a MutationsBatcher, the built-in clie...

X Description: Determine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Once a process has flushed a MutationsBatcher, the built-in clie...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/18546

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bigtable: `mutations_batcher()` causes \"Missing resource_project attribute for metric …\" warnings every 60s","articleBody":"### Determine this is the right repository\n\n- [x] I determined this is the correct repository in which to report this bug.\n\n### Summary of the issue\n\nOnce a process has flushed a `MutationsBatcher`, the built-in client-side metrics exporter logs this warning on every export (every 60s), for each affected metric, until the process exits:\n\n```\nWARNING google.cloud.bigtable.data._metrics.handlers.gcp_exporter: Missing resource_project attribute for metric operation_latencies\n```\n\nOther operations such as `bulk_mutate_rows`, `read_rows` and `mutate_row` don't trigger it. In our production service this produced about 60k warnings in two days, and the batcher's metrics are never exported.\n\n### API client name and version\n\ngoogle-cloud-bigtable 2.48.0 (also present in 2.49.0)\n\n### Reproduction steps: code\n\n```python\nimport logging\nimport time\n\nfrom google.cloud.bigtable.data import BigtableDataClient, RowMutationEntry, SetCell\n\nlogging.basicConfig(level=logging.WARNING)\n\nclient = BigtableDataClient(project=\"my-project\")\ntable = client.get_table(\"my-instance\", \"my-table\")\n\nwith table.mutations_batcher() as batcher:\n    batcher.append(RowMutationEntry(b\"row\", [SetCell(\"family\", b\"q\", b\"v\")]))\n\ntime.sleep(130)\n```\n\n### Reproduction steps: actual results\n\n```\nWARNING:google.cloud.bigtable.data._metrics.handlers.gcp_exporter:Missing resource_project attribute for metric operation_latencies\n...\n```\n\nThe warning appears once per affected metric on every 60s export.\n\n### Reproduction steps: expected results\n\nNo warnings. The batcher's metrics are exported with the same resource labels as `bulk_mutate_rows`.\n\n### OS & version + platform\n\nLinux (GKE, python:3.14-slim)\n\n### Python environment\n\nPython 3.14.8\n\n### Python dependencies\n\ngoogle-cloud-bigtable 2.48.0, google-api-core 2.40.0, grpcio 1.84.0, opentelemetry-sdk 1.44.0\n","author":{"url":"https://github.com/zoola969","@type":"Person","name":"zoola969"},"datePublished":"2026-10-02T11:19:12Z","url":"https://github.com/googleapis/google-cloud-python/issues/18546"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5876c4a3-beae-6905-aba1-49a875404c06
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD560:1E492C:25AFD5:337296:6AFE1A5E
html-safe-nonce24a014462f39af1029d7d32785bcaf35ab193d68e5c339b2e583ae5893c7cb52
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTYwOjFFNDkyQzoyNUFGRDU6MzM3Mjk2OjZBRkUxQTVFIiwidmlzaXRvcl9pZCI6IjgxNzg4NDkxMzkxNTc1MDY2NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac882f0f108f5acc53059538f18a424f7edfb2766ed9df1790204fa02da280fecf
hovercard-subject-tagissue:5676649265
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/18546/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7a6954613c87ca02624f02c67e6bd6bb2f4b9dfb5d48cc36fd35d6691367130e/googleapis/google-cloud-python/issues/18546
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a6954613c87ca02624f02c67e6bd6bb2f4b9dfb5d48cc36fd35d6691367130e/googleapis/google-cloud-python/issues/18546
og:image:altDetermine this is the right repository I determined this is the correct repository in which to report this bug. Summary of the issue Once a process has flushed a MutationsBatcher, the built-in clie...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezoola969
hostnamegithub.com
expected-hostnamegithub.com
Noned0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefef3993a71fa20f7be8e167132fbf9619bc66e12
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/18546#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18546
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18546
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18546
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18546
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18546
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues449 (449)https://github.com/googleapis/google-cloud-python/issues
Pull requests199 (199)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18546
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18546
#18712https://github.com/googleapis/google-cloud-python/pull/18712
bigtable: mutations_batcher() causes "Missing resource_project attribute for metric …" warnings every 60shttps://github.com/googleapis/google-cloud-python/issues/18546#top
#18712https://github.com/googleapis/google-cloud-python/pull/18712
https://github.com/zoola969
zoola969https://github.com/zoola969
on Oct 2, 2026https://github.com/googleapis/google-cloud-python/issues/18546#issue-5676649265
partheahttps://github.com/parthea
completedhttps://github.com/googleapis/google-cloud-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#18712https://github.com/googleapis/google-cloud-python/pull/18712
on Oct 21, 2026https://github.com/googleapis/google-cloud-python/issues/18546#event-33876697704
partheahttps://github.com/parthea
on Oct 21, 2026https://github.com/googleapis/google-cloud-python/issues/18546#event-33876698204
fix(bigtable): preserve resource labels on batcher metrics (#18712)https://github.com/googleapis/google-cloud-python/commit/f18cc6b4086a3a1ea38c5bd45ccca79d927185ab
#18712https://github.com/googleapis/google-cloud-python/pull/18712
https://docs.github.com/articles/closing-issues-via-commit-messages
f18cc6bhttps://github.com/googleapis/google-cloud-python/commit/f18cc6b4086a3a1ea38c5bd45ccca79d927185ab
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/18546
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18546
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.