René's URL Explorer Experiment


Title: *Breaking* changes to the default logging resource type · Issue #233 · googleapis/python-logging · GitHub

Open Graph Title: *Breaking* changes to the default logging resource type · Issue #233 · googleapis/python-logging

X Title: *Breaking* changes to the default logging resource type · Issue #233 · googleapis/python-logging

Description: We have been using this client to write stackdriver logs for a 2-3 years. Those logs have been written as a global resource type. We have Stackdriver logging sinks exporting those logs to a Pub/Sub topic, with sink filters for the resour...

Open Graph Description: We have been using this client to write stackdriver logs for a 2-3 years. Those logs have been written as a global resource type. We have Stackdriver logging sinks exporting those logs to a Pub/Sub...

X Description: We have been using this client to write stackdriver logs for a 2-3 years. Those logs have been written as a global resource type. We have Stackdriver logging sinks exporting those logs to a Pub/Sub...

Opengraph URL: https://github.com/googleapis/python-logging/issues/233

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"*Breaking* changes to the default logging resource type","articleBody":"We have been using this client to write stackdriver logs for a 2-3 years. Those logs have been written as a `global` resource type. \r\n\r\nWe have Stackdriver logging sinks exporting those logs to a Pub/Sub topic, with sink filters for the resource.type (among other things). Another application is collecting those logs for analytics.\r\n\r\nWe redeployed the application with the latest client a few days ago, and the aforementioned Pub/Sub topic stopped receiving messages. I just tracked it down to a change in behavior in this client (we didn't notice it at first, and when we did tracking it down was difficult).\r\n\r\nLogs from the current client are now logging stored with a resource.type of `k8s_container`.\r\n\r\nIt looks like the change is in this PR https://github.com/googleapis/python-logging/pull/200\r\n\r\n#### Steps to reproduce\r\n\r\n  1. Run the code below using google-cloud-logging==2.2.0 in GKE\r\n  2. Upgrade google-cloud-logging to 2.3.0\r\n  3. Run the code in GKE again\r\n  4. Notice the resource.type changes from `global` to `k8s_container`\r\n\r\n#### Code example\r\n\r\n```python\r\nimport google.cloud.logging\r\n\r\nclient = google.cloud.logging.Client(project='test-project')\r\nlogger = client.logger('test-log')\r\nlogger.log_struct(dict(foo='bar'))\r\n```\r\n\r\nThe resource.type is indexed in cloud logging, and used in possibly every example log filter in the google docs. I have to believe others will be affected by this breaking change.\r\n\r\nSee, for example: https://cloud.google.com/logging/docs/view/advanced-queries","author":{"url":"https://github.com/jceresini","@type":"Person","name":"jceresini"},"datePublished":"2021-03-23T05:02:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/233/python-logging/issues/233"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ce731644-cf2f-5422-4d60-0e2879af3df4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFAC:346934:1BB0201:261D177:6A50A3BC
html-safe-nonce1499b45d3890638fcd29db45e48ec31758a831972ed323d5c391823517bc026b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkFDOjM0NjkzNDoxQkIwMjAxOjI2MUQxNzc6NkE1MEEzQkMiLCJ2aXNpdG9yX2lkIjoiOTMxNTMzMTAwNjc2MDY0MTg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdc44ac81d70a6d832a8e01e86329258ace181d2c402b265be66e309e9f0474bc
hovercard-subject-tagissue:838350580
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/python-logging/233/issue_layout
twitter:imagehttps://opengraph.githubassets.com/27bee256292ac3750304e46f5ed693cdbb76a039492cd43b141cdbd1a777df68/googleapis/python-logging/issues/233
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/27bee256292ac3750304e46f5ed693cdbb76a039492cd43b141cdbd1a777df68/googleapis/python-logging/issues/233
og:image:altWe have been using this client to write stackdriver logs for a 2-3 years. Those logs have been written as a global resource type. We have Stackdriver logging sinks exporting those logs to a Pub/Sub...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejceresini
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-logging git https://github.com/googleapis/python-logging.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992562
octolytics-dimension-repository_nwogoogleapis/python-logging
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992562
octolytics-dimension-repository_network_root_nwogoogleapis/python-logging
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
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-logging/issues/233#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-logging%2Fissues%2F233
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-logging%2Fissues%2F233
Sign up https://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%2Fpython-logging
Reloadhttps://github.com/googleapis/python-logging/issues/233
Reloadhttps://github.com/googleapis/python-logging/issues/233
Reloadhttps://github.com/googleapis/python-logging/issues/233
Please reload this pagehttps://github.com/googleapis/python-logging/issues/233
googleapis https://github.com/googleapis
python-logginghttps://github.com/googleapis/python-logging
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-logging
Fork 59 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-logging
Star 142 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-logging
Code https://github.com/googleapis/python-logging
Issues 0 https://github.com/googleapis/python-logging/issues
Pull requests 0 https://github.com/googleapis/python-logging/pulls
Actions https://github.com/googleapis/python-logging/actions
Projects https://github.com/googleapis/python-logging/projects
Security and quality 0 https://github.com/googleapis/python-logging/security
Insights https://github.com/googleapis/python-logging/pulse
Code https://github.com/googleapis/python-logging
Issues https://github.com/googleapis/python-logging/issues
Pull requests https://github.com/googleapis/python-logging/pulls
Actions https://github.com/googleapis/python-logging/actions
Projects https://github.com/googleapis/python-logging/projects
Security and quality https://github.com/googleapis/python-logging/security
Insights https://github.com/googleapis/python-logging/pulse
*Breaking* changes to the default logging resource typehttps://github.com/googleapis/python-logging/issues/233#top
https://github.com/daniel-sanche
api: loggingIssues related to the googleapis/python-logging API.https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22api%3A%20logging%22
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
v2 Update 2https://github.com/googleapis/python-logging/milestone/4
https://github.com/jceresini
jceresinihttps://github.com/jceresini
on Mar 23, 2021https://github.com/googleapis/python-logging/issues/233#issue-838350580
#200https://github.com/googleapis/python-logging/pull/200
https://cloud.google.com/logging/docs/view/advanced-querieshttps://cloud.google.com/logging/docs/view/advanced-queries
daniel-sanchehttps://github.com/daniel-sanche
api: loggingIssues related to the googleapis/python-logging API.https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22api%3A%20logging%22
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-logging/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
v2 Update 2https://github.com/googleapis/python-logging/milestone/4
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.