Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2022 Changes in this version type Config + Home bool v0.7.0 Nov 19, 2021 Changes in this version + type Config struct + Description string + DisplayName string + Klogs ConfigKlogs + Name string + Prometheus ConfigPrometheus + type ConfigKlogs struct + Enabled bool + Name string + type ConfigPrometheus struct + Enabled bool + Name string + type Edge struct + Data EdgeData + type EdgeData struct + ID string + Source string + Target string + type Instance struct + Name string + func New(config Config, prometheusInstances []*prometheusInstance.Instance, ...) (*Instance, error) + func (i *Instance) GetMetrics(ctx context.Context, namespaces []string, ...) (map[string]map[string]string, error) + func (i *Instance) GetMetricsDetails(ctx context.Context, ...) (*prometheusInstance.Metrics, error) + func (i *Instance) GetMetricsPod(ctx context.Context, metric, namespace, pod string, timeStart int64, ...) (*prometheusInstance.Metrics, error) + func (i *Instance) GetNamespaces(ctx context.Context, timeStart int64, timeEnd int64) ([]string, error) + func (i *Instance) GetTopology(ctx context.Context, namespace, application string, timeStart int64, ...) ([]Edge, []Node, error) + func (i *Instance) Tap(ctx context.Context, ...) ([]map[string]interface{}, error) + func (i *Instance) Top(ctx context.Context, ...) ([][]interface{}, error) + func (i *Instance) TopDetails(ctx context.Context, ...) ([][]interface{}, error) + type Node struct + Data NodeData + type NodeData struct + ID string + Metrics map[string]string