Project

General

Profile

Actions

Story #13198

closed

[Keep-web] Add metrics endpoint

Added by Tom Morris almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
07/17/2018
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5
Release:
Release relationship:
Auto

Description

Use same approach as keepstore metrics added in #13025 (prometheus, etc).

Easiest metrics to provide:
  • reqDuration (partitioned by method and status) using promhttp.InstrumentHandlerDuration
  • timeToStatus (ditto) using log.AddHook, as in #13025

This should be refactored into a go package (sdk/go/httpserver?) instead of copying code from keepstore to keep-web.

Keep-web specific metrics to provide:
  • time to fetch block from keep
  • cache hits, misses

Subtasks 6 (0 open6 closed)

Task #13733: Review 13198-keep-web-metricsResolvedTom Clegg07/17/2018

Actions
Task #13877: Review 13198-keep-web-metricsResolvedTom Clegg07/17/2018

Actions
Task #13942: Remove metrics from status.jsonResolvedTom Clegg07/17/2018

Actions
Task #13943: Update https://doc.arvados.org/admin/metrics.htmlResolvedTom Clegg07/17/2018

Actions
Task #13983: Review 13198-keep-web-metricsResolvedTom Clegg07/17/2018

Actions
Task #14035: Review 13198-metrics-docsResolvedTom Clegg07/17/2018

Actions
Actions

Also available in: Atom PDF