Title: Provide ability to configure Google Cloud Logging as logging handler · Issue #111 · mozilla-services/python-dockerflow · GitHub
Open Graph Title: Provide ability to configure Google Cloud Logging as logging handler · Issue #111 · mozilla-services/python-dockerflow
X Title: Provide ability to configure Google Cloud Logging as logging handler · Issue #111 · mozilla-services/python-dockerflow
Description: Quoting the Dockerflow spec: Optional Recommendations ... 2. Log to stdout in the mozlog json schema. Many Mozilla service are now being deployed on GCP, and as such use Google Cloud Logging (FKA Stackdriver) to ingest logs. Google Cloud...
Open Graph Description: Quoting the Dockerflow spec: Optional Recommendations ... 2. Log to stdout in the mozlog json schema. Many Mozilla service are now being deployed on GCP, and as such use Google Cloud Logging (FKA S...
X Description: Quoting the Dockerflow spec: Optional Recommendations ... 2. Log to stdout in the mozlog json schema. Many Mozilla service are now being deployed on GCP, and as such use Google Cloud Logging (FKA S...
Opengraph URL: https://github.com/mozilla-services/python-dockerflow/issues/111
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide ability to configure Google Cloud Logging as logging handler","articleBody":"Quoting the Dockerflow spec:\r\n\r\n\u003e ## Optional Recommendations\r\n\u003e ...\r\n\u003e 2. Log to stdout in the [mozlog](https://wiki.mozilla.org/Firefox/Services/Logging) json schema.\r\n\r\nMany Mozilla service are now being deployed on GCP, and as such use Google Cloud Logging (FKA Stackdriver) to ingest logs.\r\n\r\nGoogle Cloud Logging has its [own schema](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that defines the shape of a structured log, and the fields of this schema [affect the presentation](https://cloud.google.com/logging/docs/structured-logging#structured_logging_special_fields) of the log in the [Logs Explorer](https://cloud.google.com/logging/docs/view/logs-explorer-interface).\r\n\r\nFor example:\r\n- If GCP does not recognize the severity notation of logged message, it will consider anything emitted to `stdout` as `INFO` and anything emitted to `stderr` as `ERROR`\r\n- by providing a `message` field, only that message is displayed in the log entry line in the explorer, with the ability to unfold entire log message to view other properties. Without it, the entire json object appears on the log line\r\n\r\nThis library should provide an easy way to integrate Google Cloud Logging's schema into an application. Though engineers could set up this integration [themselves](https://cloud.google.com/python/docs/reference/logging/latest/std-lib-integration#automatic-configuration), providing an integration through this library provides an easy path to transition should engineers want to make the switch.","author":{"url":"https://github.com/grahamalama","@type":"Person","name":"grahamalama"},"datePublished":"2024-04-23T14:01:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/111/python-dockerflow/issues/111"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5b0285cc-96f3-e8ef-47b9-a97afe9b204c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80F6:17402E:1AF1CF9:24DC868:6A547CE7 |
| html-safe-nonce | 0144313833ba6e332c55ec6f7fbcdb99197f27335e3fa42368f30cc08b070a56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEY2OjE3NDAyRToxQUYxQ0Y5OjI0REM4Njg6NkE1NDdDRTciLCJ2aXNpdG9yX2lkIjoiNTYzMTExNzMxNzAzMzQ1ODkxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 61f9dc16591c32224372f0733df39a4c309f19f80619c573fbd3a7f78f3c1662 |
| hovercard-subject-tag | issue:2258966200 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mozilla-services/python-dockerflow/111/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c4c69e1923c872e532027b588208805920afdd1977b6013b19c79a674abd51d/mozilla-services/python-dockerflow/issues/111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c4c69e1923c872e532027b588208805920afdd1977b6013b19c79a674abd51d/mozilla-services/python-dockerflow/issues/111 |
| og:image:alt | Quoting the Dockerflow spec: Optional Recommendations ... 2. Log to stdout in the mozlog json schema. Many Mozilla service are now being deployed on GCP, and as such use Google Cloud Logging (FKA S... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | grahamalama |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/mozilla-services/python-dockerflow git https://github.com/mozilla-services/python-dockerflow.git |
| octolytics-dimension-user_id | 1066228 |
| octolytics-dimension-user_login | mozilla-services |
| octolytics-dimension-repository_id | 73705921 |
| octolytics-dimension-repository_nwo | mozilla-services/python-dockerflow |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 73705921 |
| octolytics-dimension-repository_network_root_nwo | mozilla-services/python-dockerflow |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width