Page MenuHomePhabricator

Limit http methods reported by varnishmtail
Closed, ResolvedPublic

Description

There's a wide selection of http methods reported by varnishmtail, since it is user-controlled we should be reporting only valid methods, e.g.

OPTIONS
GET
HEAD
POST
PUT
DELETE
TRACE
CONNECT
PURGE
PATCH

Event Timeline

fgiunchedi triaged this task as Medium priority.Jan 2 2018, 4:44 PM
fgiunchedi created this task.

Change 402318 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] mtail: group invalid methods under a single metric

https://gerrit.wikimedia.org/r/402318

Change 402318 merged by Filippo Giunchedi:
[operations/puppet@production] mtail: group invalid methods under a single metric

https://gerrit.wikimedia.org/r/402318

fgiunchedi claimed this task.

Reopening, we need to match method names exactly, not prefixes like we're doing now

Change 403158 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] mtail: fix counting for frontend varnish http_method

https://gerrit.wikimedia.org/r/403158

Change 403158 merged by Filippo Giunchedi:
[operations/puppet@production] mtail: fix counting for frontend varnish http_method

https://gerrit.wikimedia.org/r/403158

Fixed and rolled out