Documentation ¶
Index ¶
- type App
- type AppStatus
- type Builder
- type Cadvisor
- func (c *Cadvisor) Add(event *watch.Event)
- func (c *Cadvisor) AddEndpoint(end *config.Endpoint)
- func (c *Cadvisor) Delete(event *watch.Event)
- func (c *Cadvisor) Error(err error)
- func (c *Cadvisor) Modify(event *watch.Event)
- func (c *Cadvisor) Name() string
- func (c *Cadvisor) UpdateEndpoints(endpoints ...*config.Endpoint)
- type Entrance
- type Etcd
- type EventLog
- type Mq
- type Node
- type Prometheus
- type Webcli
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
App 指app运行时信息,来源于所有子节点上的node 127.0.0.1:6100/app/metrics
func (*App) UpdateEndpoints ¶
type AppStatus ¶
type AppStatus struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
AppStatus 指app性能数据,被选举为leader的worker,也就是app_sync_runtime_server所在的节点 127.0.0.1:6369/metrics
func (*AppStatus) UpdateEndpoints ¶
type Builder ¶
type Builder struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*Builder) UpdateEndpoints ¶
type Cadvisor ¶
type Cadvisor struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Cadvisor 指容器监控数据,来源于所有子节点上的kubelet 127.0.0.1:4194/metrics
func (*Cadvisor) AddEndpoint ¶
func (*Cadvisor) UpdateEndpoints ¶
type Entrance ¶
type Entrance struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*Entrance) UpdateEndpoints ¶
type Etcd ¶
type Etcd struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*Etcd) UpdateEndpoints ¶
type EventLog ¶
type EventLog struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*EventLog) UpdateEndpoints ¶
type Mq ¶
type Mq struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*Mq) UpdateEndpoints ¶
type Node ¶
type Node struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*Node) AddEndpoint ¶
func (*Node) UpdateEndpoints ¶
type Prometheus ¶
type Prometheus struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Prometheus 指prometheus的运行指标,数据来源于prometheus自身API
func (*Prometheus) Error ¶
func (e *Prometheus) Error(err error)
func (*Prometheus) Name ¶
func (e *Prometheus) Name() string
func (*Prometheus) UpdateEndpoints ¶
func (e *Prometheus) UpdateEndpoints(endpoints ...*config.Endpoint)
type Webcli ¶
type Webcli struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
func (*Webcli) UpdateEndpoints ¶
Click to show internal directories.
Click to hide internal directories.