Documentation ¶
Overview ¶
Package performance implements the Performance domain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetMetricsReply ¶
type GetMetricsReply struct {
Metrics []Metric `json:"metrics"` // Current values for run-time metrics.
}
GetMetricsReply represents the return values for GetMetrics in the Performance domain.
type Metric ¶
type Metric struct { Name string `json:"name"` // Metric name. Value float64 `json:"value"` // Metric value. }
Metric Run-time execution metric.
type MetricsClient ¶
type MetricsClient interface { // Recv calls RecvMsg on rpcc.Stream, blocks until the event is // triggered, context canceled or connection closed. Recv() (*MetricsReply, error) rpcc.Stream }
MetricsClient is a client for Metrics events. Current values of the metrics.
type MetricsReply ¶
type MetricsReply struct { Metrics []Metric `json:"metrics"` // Current values of the metrics. Title string `json:"title"` // Timestamp title. }
MetricsReply is the reply for Metrics events.
Click to show internal directories.
Click to hide internal directories.