analyser

package
v0.0.0-...-d9c38a9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintAggregatorCheckedNotStored

func PrintAggregatorCheckedNotStored(colorizer aurora.Aurora)

PrintAggregatorCheckedNotStored function prints all messages that have been checked but not stored into database for whatever reason

func PrintAggregatorConsumedNotReadMessages

func PrintAggregatorConsumedNotReadMessages(colorizer aurora.Aurora)

PrintAggregatorConsumedNotReadMessages function prints all messages that are consumer (from input) but not read for any reason

func PrintAggregatorConsumedNotWhitelisted

func PrintAggregatorConsumedNotWhitelisted(colorizer aurora.Aurora)

PrintAggregatorConsumedNotWhitelisted function prints all consumed, but not whitelisted messages, ie. messages that have been filtered

func PrintAggregatorMarshalledNotChecked

func PrintAggregatorMarshalledNotChecked(colorizer aurora.Aurora)

PrintAggregatorMarshalledNotChecked function prints messages that can be marshalled but are not checked for any reason (improper internal structure etc.)

func PrintAggregatorStatistic

func PrintAggregatorStatistic(colorizer aurora.Aurora)

PrintAggregatorStatistic prints statistic gathered from aggregator logs.

func PrintAggregatorWhitelistedNotMarshalled

func PrintAggregatorWhitelistedNotMarshalled(colorizer aurora.Aurora)

PrintAggregatorWhitelistedNotMarshalled function prints whitelisted messages (that are supposed to be processed) that can't be marshalled for any reason

func PrintPipelineStatistic

func PrintPipelineStatistic(colorizer aurora.Aurora)

PrintPipelineStatistic prints statistic gathered from CCX data pipeline logs.

func ReadAggregatorLogFiles

func ReadAggregatorLogFiles() (int, error)

ReadAggregatorLogFiles reads all log files gathered from aggregator pods.

func ReadPipelineLogFiles

func ReadPipelineLogFiles() (int, error)

ReadPipelineLogFiles reads all log files gathered from CCX data pipeline pods.

Types

type AggregatorLogEntry

type AggregatorLogEntry struct {
	Level        string `json:"level"`
	Time         string `json:"time"`
	Message      string `json:"message"`
	Type         string `json:"type"`
	Error        string `json:"error"`
	Topic        string `json:"topic"`
	Offset       int    `json:"offset"`
	Group        string `json:"group"`
	Organization int    `json:"organization"`
	Cluster      string `json:"cluster"`
}

AggregatorLogEntry represents one log entry (record) read from log file.

type PipelineLogEntry

type PipelineLogEntry struct {
	Level    string `json:"levelname"`
	Time     string `json:"asctime"`
	Name     string `json:"name"`
	Filename string `json:"filename"`
	Message  string `json:"message"`
}

PipelineLogEntry represents one log entry (record) read from log file.

Jump to

Keyboard shortcuts

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