Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECSDiscovery ¶
type ECSDiscovery struct {
// contains filtered or unexported fields
}
ECSDiscovery periodically performs ECS-SD requests. It implements the TargetProvider interface.
func NewECSDiscovery ¶
func NewECSDiscovery(config Config) *ECSDiscovery
NewECSDiscovery returns a new ECSDiscovery which periodically refreshes its targets.
func (*ECSDiscovery) Run ¶
func (ed *ECSDiscovery) Run(ctx context.Context)
Run implements the TargetProvider interface.
type TargetGroup ¶
type TargetGroup struct { Targets []string `json:"targets,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
TargetGroup is a part of output for file SD in Prometheus
Click to show internal directories.
Click to hide internal directories.