Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
我们将 prometheus 的服务端集成进来(采集能力) 将我们的配置转成 prometheus 识别的配置 配置 remote storage 写到 gateway 本文件的大部分内容是 prometheus 初始化流程的简化版
func NewManager ¶
func NewManager(ctm *collecttask.Manager) *Manager
func (*Manager) OnUpdate ¶
func (m *Manager) OnUpdate(delta *collecttask.Delta)
func (*Manager) StartListen ¶
func (m *Manager) StartListen()
type MyK8sConfig ¶
type MyK8sConfig struct{}
func (*MyK8sConfig) Name ¶
func (m *MyK8sConfig) Name() string
func (*MyK8sConfig) NewDiscoverer ¶
func (m *MyK8sConfig) NewDiscoverer(options discovery.DiscovererOptions) (discovery.Discoverer, error)
type MyK8sDiscoverer ¶
type MyK8sDiscoverer struct {
// contains filtered or unexported fields
}
func (*MyK8sDiscoverer) Run ¶
func (m *MyK8sDiscoverer) Run(ctx context.Context, up chan<- []*targetgroup.Group)
Click to show internal directories.
Click to hide internal directories.