package
0.2.0
Repository: https://github.com/lf-edge/eden.git
Documentation: pkg.go.dev

# Functions

HandleAll runs for all Logs selected by LogWatch.
HandleFirst runs once and interrupts the workflow of LogWatch.
MetricChecker check metrics by pattern from existence files with HandlerFunc with timeout for observe new files.
MetricItemFind find ZMetricMsg records by reqexps in 'query' corresponded to ZMetricMsg structure.
MetricItemPrint find ZMetricMsg records by path in 'query'.
MetricLast function process Metric files in the 'filepath' directoryaccording to the 'query' reqexps and return last founded item.
MetricPrn print Metric data.
MetricTail returns MetricCheckerMode for process only defined count of last messages.
MetricWatch monitors the change of Metric files in the 'filepath' directoryaccording to the 'query' reqexps and processing using the 'handler' function.
ParseMetricsBundle unmarshal LogBundle.

# Constants

MetricAny use both mechanisms.
MetricExist just look to existing files.
MetricNew wait for new files.

# Type aliases

HandlerFunc must process ZMetricMsg and return true to exitor false to continue.
MetricCheckerMode is MetricExist, MetricNew and MetricAny.