mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 14:20:56 +00:00
Merge branch 'pratik/otel-phase9-metric-gap-fill' into pratik/otel-phase10-workload-validation
This commit is contained in:
@@ -1224,7 +1224,7 @@ private:
|
||||
* MetricsRegistry::startAsyncGauges() for the full list.
|
||||
*/
|
||||
void
|
||||
startTelemetryGauges();
|
||||
startTelemetryGauges() const;
|
||||
|
||||
std::shared_ptr<Ledger>
|
||||
getLastFullLedger();
|
||||
@@ -1681,7 +1681,7 @@ ApplicationImp::startTelemetry() const
|
||||
}
|
||||
|
||||
void
|
||||
ApplicationImp::startTelemetryGauges()
|
||||
ApplicationImp::startTelemetryGauges() const
|
||||
{
|
||||
if (metricsRegistry_)
|
||||
metricsRegistry_->startAsyncGauges();
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
* | | | |
|
||||
* | | +---------------------------------------------+ | |
|
||||
* | | | rpc.command.{name} | | |
|
||||
* | | | RPC::callMethod() | | |
|
||||
* | | | rpc::callMethod() | | |
|
||||
* | | | attrs: command, version, rpc_role, rpc_status | | |
|
||||
* | | +---------------------------------------------+ | |
|
||||
* | +--------------------------------------------------+ |
|
||||
@@ -60,7 +60,7 @@
|
||||
* | |
|
||||
* | +--------------------------------------------------+ |
|
||||
* | | rpc.command.{name} | |
|
||||
* | | RPC::callMethod() | |
|
||||
* | | rpc::callMethod() | |
|
||||
* | | attrs: command, version, rpc_role, rpc_status | |
|
||||
* | +--------------------------------------------------+ |
|
||||
* +-------------------------------------------------------+
|
||||
@@ -81,7 +81,7 @@
|
||||
*
|
||||
* +-------------------------------------------------------+
|
||||
* | rpc.command.{name} (error: too_busy/unknown/etc) |
|
||||
* | RPC::doCommand() — fillHandler() rejection |
|
||||
* | rpc::doCommand() — fillHandler() rejection |
|
||||
* +-------------------------------------------------------+
|
||||
*
|
||||
* gRPC path (see GrpcSpanNames.h for constants):
|
||||
|
||||
@@ -140,7 +140,7 @@ resolveWsCommandSpanName(json::Value const& jv, Config const& config)
|
||||
return rpc_span::val::unknownCommand;
|
||||
|
||||
auto const* handler =
|
||||
RPC::getHandler(RPC::getAPIVersionNumber(jv, config.betaRpcApi), config.betaRpcApi, cmd);
|
||||
rpc::getHandler(rpc::getAPIVersionNumber(jv, config.betaRpcApi), config.betaRpcApi, cmd);
|
||||
return (handler != nullptr) ? std::string_view{handler->name}
|
||||
: std::string_view{rpc_span::val::unknownCommand};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user