MCPcopy Create free account
hub / github.com/3rdparty/libprocess / help

Method help

src/metrics/metrics.cpp:104–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103
104string 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
121Future<Nothing> MetricsProcess::add(Owned<Metric> metric)

Callers

nothing calls this directly

Calls 4

HELPFunction · 0.85
TLDRFunction · 0.85
DESCRIPTIONFunction · 0.85
AUTHENTICATIONFunction · 0.85

Tested by

no test coverage detected