# Functions
DecodeMetrics decodes metrics from MetricsResponse to []MetricFamily, if something went wrong returns error.
EncodeConfig encodes viper settings into DumpConfig message, if something went wrong returns gRPC Status error (can be returned from service).
EncodeMetrics encodes metrics from gatherer into MetricsResponse message, if something went wrong returns gRPC Status error (can be returned from service).
EncodeVariables encodes debug variables into DumpVarsResponse message.
No description provided by the author
No description provided by the author
# Constants
Offline used when need to set node to the offline state.
Online used when need to set node to the online state.
Unknown is default value.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ChangeStateRequest contains a new state of node.
ChangeStateResponse is an empty response, that returns when RPC invoked without errors.
DumpRequest message to fetch current server config.
DumpResponse message contains current server config.
DumpVarsRequest message to fetch current server debug variables.
DumpVarsResponse message contains current server debug variables.
HealthRequest message to check current state.
HealthResponse message with current state.
MetricsRequest message to request node metrics.
MetricsResponse contains [][]byte, every []byte is marshaled MetricFamily proto message from github.com/prometheus/client_model/metrics.proto.
NetmapRequest message to request current node netmap.
UnimplementedStatusServer can be embedded to have forward compatible implementations.
# Interfaces
StatusClient is the client API for Status service.
StatusServer is the server API for Status service.
# Type aliases
No description provided by the author
MetricFamily is type alias for proto.Message generated from github.com/prometheus/client_model/metrics.proto.