Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetricsOutputSummaryKey = "SUMMARY"
)
Variables ¶
View Source
var (
ConfigCheckedAt time.Time
)
Functions ¶
func PBToMetrics ¶
func PBToMetrics(resp *pb.GetMetricsResponse) map[string]*types.ClusterMetric
Types ¶
type Client ¶
type Client struct { ServerAddress string MetricFormatFile string HeaderTemplateFile string OutputTemplateFile string ShowDevices bool ShowAsTop bool // contains filtered or unexported fields }
func (*Client) GetMetrics ¶
func (c *Client) GetMetrics() (map[string]*types.ClusterMetric, error)
type MetricFormat ¶
Click to show internal directories.
Click to hide internal directories.