HomePhabricator

Log url size errors to statsd

Authored by Krinkle.

Description

Log url size errors to statsd

Previously these were silently dropped from the client.

Use a lightweight statsv increment property instead of going through
the whole EventLogging stack.

Abstract the property behind a generic 'logFailure' method to allow
consumers to invoke it directly if they have their own validation
logic that isn't expressed as part of a schema.

Bug: T112592
Change-Id: I477cd6e53ada1bb6433fede2b164368e3c41d97f
(cherry picked from commit a019982d48b63c59b94b3e376bfde672f64d9fd9)

Details

Committed
KrinkleSep 15 2015, 6:14 PM
Parents
rEEVL45b634f64fa8: Creating new wmf/1.26wmf23 branch
Branches
Unknown
Tags
Unknown
References
refs/changes/13/238513/1
ChangeId
I477cd6e53ada1bb6433fede2b164368e3c41d97f