benoitc/gunicorn

Separate instrumentation and logging

Open

#1.564 geöffnet am 6. Aug. 2017

Auf GitHub ansehen
 (9 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)Python (1.707 Forks)batch import
Feature/LoggingImprovementhelp wanted

Repository-Metriken

Stars
 (9.334 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8h 8m) (1 gemergte PR in 30 T)

Beschreibung

Issues like #1405 demonstrate that having statsd instrumentation built on top of the logging handlers means instrumentation and logging are coupled. Some have found this coupling surprising.

I would like to see proposals for ways to separate these functions.

This may be as simple as making the statsd Logger into a handler instead, so it can be invoked no matter which logger is being used.

Contributor Guide