Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JournalTargetManager ¶
type JournalTargetManager struct{}
JournalTargetManager manages a series of JournalTargets. nolint:revive
func NewJournalTargetManager ¶
func NewJournalTargetManager( _ *Metrics, logger log.Logger, _ positions.Positions, _ api.EntryHandler, _ []scrapeconfig.Config, ) (*JournalTargetManager, error)
NewJournalTargetManager returns nil as JournalTargets are not supported on this platform.
func (*JournalTargetManager) ActiveTargets ¶
func (tm *JournalTargetManager) ActiveTargets() map[string][]target.Target
ActiveTargets always returns nil on non-Linux platforms.
func (*JournalTargetManager) AllTargets ¶
func (tm *JournalTargetManager) AllTargets() map[string][]target.Target
AllTargets always returns nil on non-Linux platforms.
func (*JournalTargetManager) Ready ¶
func (tm *JournalTargetManager) Ready() bool
Ready always returns false for JournalTargetManager on non-Linux platforms.
func (*JournalTargetManager) Stop ¶
func (tm *JournalTargetManager) Stop()
Stop is a no-op on non-Linux platforms.
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics holds a set of journal target metrics.
func NewMetrics ¶
func NewMetrics(reg prometheus.Registerer) *Metrics
NewMetrics creates a new set of journal target metrics. If reg is non-nil, the metrics will be registered.
Click to show internal directories.
Click to hide internal directories.