New issue
Advanced search Search tips

Issue 599317 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

gae_ts_mon (Python): instrument logging on AppEngine apps

Project Member Reported by sergeybe...@chromium.org, Mar 31 2016

Issue description

Minimally, I'd like a metric that counts log lines emitted by the app's code tagged by the log level. This way, we can tell how often an app is failing internally, even when it succeeds the requests.

A couple of ideas:

 1. Add a logger at initialize() time that would drop the actual logs, but would count the number of calls at each log level.
 2. If #1 fails: implement a wrapper in gae_ts_mon for the "logging" module, and import it in apps as 

  from gae_ts_mon import logging


Note, that logs generated by the AppEngine layer itself (like request logs, instance restart logs, etc.) are nice to have, but probably harder to implement, and therefore are optional here.

This bug is limited to the python version.
 

Comment 1 by benhenry@google.com, Apr 27 2016

Components: Infra>Monitoring
Labels: -Infra-Monitoring
Cc: sergeybe...@chromium.org
Labels: -Pri-2 Pri-3 Type-Feature
Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 27 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment