syslog

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CHAN_SLACK           = 10000
	DeviceUpdateDuration = 1 * time.Hour
	InstNameSyslog       = "ktranslate-syslog"
	ErrorCheckDuration   = 1 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KentikSyslog

type KentikSyslog struct {
	logger.ContextL
	// contains filtered or unexported fields
}

func NewSyslogSource

func NewSyslogSource(ctx context.Context, log logger.Underlying, logchan chan string, registry go_metrics.Registry, apic *api.KentikApi, resolver *resolv.Resolver, cfg *ktranslate.SyslogInputConfig) (*KentikSyslog, error)

func (*KentikSyslog) Close

func (ks *KentikSyslog) Close()

func (*KentikSyslog) HttpInfo

func (ks *KentikSyslog) HttpInfo() map[string]float64

type SyslogMetric

type SyslogMetric struct {
	Messages go_metrics.Meter
	Errors   go_metrics.Meter
	Queue    go_metrics.Gauge
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL