Code Repositories xandikos / 1e970f8
Add TODO, add note on prometheus. Jelmer Vernooń≥ 29 days ago
2 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Prometheus
1 ==========
2
3 Proposed metrics:
4
5 * number of HTTP queries
6 * number of DAV queries by category
7 * DAV versions used
2828
2929 def validate(self):
3030 c = b''.join(self.content).strip()
31 # TODO(jelmer): Do more extensive checking of VCards
3132 if not c.startswith((b'BEGIN:VCARD\r\n', b'BEGIN:VCARD\n')) or \
3233 not c.endswith(b'\nEND:VCARD'):
3334 raise InvalidFileContents(