syslog

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

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

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, host string, log logger.Underlying, logchan chan string, registry go_metrics.Registry, apic *api.KentikApi, resolver *resolv.Resolver) (*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