| 102 | |
| 103 | |
| 104 | string MetricsProcess::help() |
| 105 | { |
| 106 | return HELP( |
| 107 | TLDR("Provides a snapshot of the current metrics."), |
| 108 | DESCRIPTION( |
| 109 | "This endpoint provides information regarding the current metrics", |
| 110 | "tracked by the system.", |
| 111 | "", |
| 112 | "The optional query parameter 'timeout' determines the maximum", |
| 113 | "amount of time the endpoint will take to respond. If the timeout", |
| 114 | "is exceeded, some metrics may not be included in the response.", |
| 115 | "", |
| 116 | "The key is the metric name, and the value is a double-type."), |
| 117 | AUTHENTICATION(true)); |
| 118 | } |
| 119 | |
| 120 | |
| 121 | Future<Nothing> MetricsProcess::add(Owned<Metric> metric) |
nothing calls this directly
no test coverage detected