Documentation ¶
Index ¶
- type App
- 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 Etcd
- type EventLog
- type GatewayNode
- type Mq
- type Node
- type Prometheus
- type Webcli
- type Worker
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 ¶
UpdateEndpoints update endpoint
type Builder ¶
type Builder struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Builder builder
func (*Builder) UpdateEndpoints ¶
UpdateEndpoints update endpoints
type Cadvisor ¶
type Cadvisor struct { discover.Callback Prometheus *prometheus.Manager ListenPort int // contains filtered or unexported fields }
Cadvisor 指容器监控数据,来源于所有子节点上的kubelet 127.0.0.1:4194/metrics
func (*Cadvisor) AddEndpoint ¶
AddEndpoint add endpoint
func (*Cadvisor) UpdateEndpoints ¶
UpdateEndpoints update endpoint
type Etcd ¶
type Etcd struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Etcd etcd discover
func (*Etcd) UpdateEndpoints ¶
UpdateEndpoints update endpoints
type EventLog ¶
type EventLog struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
EventLog event log
func (*EventLog) UpdateEndpoints ¶
UpdateEndpoints update endpoint
type GatewayNode ¶
type GatewayNode struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
GatewayNode node discover
func (*GatewayNode) AddEndpoint ¶
func (e *GatewayNode) AddEndpoint(end *config.Endpoint)
AddEndpoint add endpoint
func (*GatewayNode) Error ¶
func (e *GatewayNode) Error(err error)
func (*GatewayNode) UpdateEndpoints ¶
func (e *GatewayNode) UpdateEndpoints(endpoints ...*config.Endpoint)
UpdateEndpoints update endpoints
type Mq ¶
type Mq struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Mq discover
func (*Mq) UpdateEndpoints ¶
UpdateEndpoints update endpoint
type Node ¶
type Node struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Node node discover
func (*Node) AddEndpoint ¶
AddEndpoint add endpoint
func (*Node) UpdateEndpoints ¶
UpdateEndpoints update endpoints
type Prometheus ¶
type Prometheus struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Prometheus 指prometheus的运行指标,数据来源于prometheus自身API
func (*Prometheus) UpdateEndpoints ¶
func (e *Prometheus) UpdateEndpoints(endpoints ...*config.Endpoint)
UpdateEndpoints update endpoint
type Webcli ¶
type Webcli struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Webcli webcli
func (*Webcli) UpdateEndpoints ¶
UpdateEndpoints update endpoints
type Worker ¶
type Worker struct { discover.Callback Prometheus *prometheus.Manager // contains filtered or unexported fields }
Worker worker monitor 127.0.0.1:6369/metrics
func (*Worker) UpdateEndpoints ¶
UpdateEndpoints update endpoint