Provide ability to configure Google Cloud Logging as logging handler
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- gcp, python
- Domaine
- observability
Piste de recherche
The issue asks for an optional Google Cloud Logging integration, so the work is to add a logging option, not to change existing behaviour. Start with the GCP structured logging special fields and the LogEntry schema it links, then check how the library currently writes logs to stdout. Done means a configurable output whose severity and message fields Cloud Logging recognises, with tests. The API shape is not settled in the thread, so agree on it with maintainers first.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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 Logging has its own schema that defines the shape of a structured log, and the fields of this schema affect the presentation of the log in the Logs Explorer.
For example:
- If GCP does not recognize the severity notation of logged message, it will consider anything emitted to
stdoutasINFOand anything emitted tostderrasERROR - by providing a
messagefield, 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
This library should provide an easy way to integrate Google Cloud Logging's schema into an application. Though engineers could set up this integration themselves, providing an integration through this library provides an easy path to transition should engineers want to make the switch.
- Langage dominant
- Python
- Étoiles
- 41
- Forks
- 21
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de mozilla-services/python-dockerflow
-
Difficulté 3/5 Une demi-journée Accessibilité débutants 15/100
mozilla-services/python-dockerflow#119 · 1 commentaire ·
-
2023.8.0 distribution missingOuverte
Difficulté 2/5 Moins d'une heure Accessibilité débutants 15/100
mozilla-services/python-dockerflow#117 · 1 commentaire ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
mozilla-services/python-dockerflow#116 · 1 commentaire ·
-
Enhance core testsOuverte
Difficulté 3/5 Une demi-journée Accessibilité débutants 62/100
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
Toutes les issues de mozilla-services/python-dockerflow
Issues similaires
-
md/asciidoc/csv: an explicit `encoding="utf-8"` keeps a leading BOM, the auto-detect path drops itOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
docling-project/docling#4846 ·
Les mainteneurs répondent en général sous 1 jour
-
area/sessions comp/dashboard comp/desktop comp/gateway comp/tui duplicate P2 sweeper:risk-session-state type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
NousResearch/hermes-agent#138914 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bot-triaged module: activation checkpointing module: inductor oncall: pt2 triaged
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
[oblt-aw][autodoc] Update PR Actions Detective E2E prerequisites and fix dashboard-format table typoOuvertedocumentation
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
elastic/oblt-aw#2382 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour