Documentation ¶
Index ¶
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) AddEndpoint ¶
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 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.