feeds

package
v0.0.0-...-2032698 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2016 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertCSVToBinary

func ConvertCSVToBinary(
	iPath string,
	oPath string,
	minTime int32,
	maxTime int32,
	typeFilter int,
	regionFilter int,
	statusFilter int,
	errorReasonFilterConf string)

func DumpEventData

func DumpEventData(
	events *[]perspective.EventData,
	tA int32,
	tΩ int32,
	typeFilter int,
	regionFilter int,
	statusFilter int,
	out io.Writer)

DumpEventData reads a binary-log formatted event-data dump and writes out a listing of the data in the event records which match the specified filtering criteria. These values are written as all int32 values for the sake of making the output easier to consume with such things as a JavaScript Typed Array parser (which lacks native support for such concepts as c-style structs).

func GeneratePNGFromBinLog

func GeneratePNGFromBinLog(
	events *[]perspective.EventData,
	tA int32,
	tΩ int32,
	typeFilter int,
	regionFilter int,
	statusFilter int,
	v perspective.Visualizer,
	out io.Writer)

GeneratePNGFromBinLog reads a binary-log formatted event-data dump and renders a visualization as a PNG file using the specified visualization generator and input-filtering parameters.

func GetSuccessRate

func GetSuccessRate(
	events *[]perspective.EventData,
	tA int32,
	tΩ int32,
	typeFilter int,
	regionFilter int,
	out io.Writer)

GetSuccessRate reads a binary-log formatted event-data dump and writes out the rate of successful event completions relative to all event completions within the specified time range and event type filter criteria, encoded as a string percentage value of up to five places (like "99.997%").

func MapBinLogFile

func MapBinLogFile(path string, lookback int64) *[]perspective.EventData

func UnmapBinLogFile

func UnmapBinLogFile(eventData *[]perspective.EventData) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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