metrics_collect

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ObjectKey = "object"
View Source
const SectionKey = "metrics_collected"

Variables

View Source
var ChildRule = map[string]Rule{}
View Source
var MergeRuleMap = map[string]mergeJsonRule.MergeRule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterDarwinRule added in v1.247347.1

func RegisterDarwinRule(ruleName string, r Rule)

func RegisterLinuxRule

func RegisterLinuxRule(ruleName string, r Rule)

func RegisterWindowsRule

func RegisterWindowsRule(ruleName string, r Rule)

Types

type CollectMetrics

type CollectMetrics struct {
}

func (*CollectMetrics) ApplyRule

func (c *CollectMetrics) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

func (*CollectMetrics) Merge

func (c *CollectMetrics) Merge(source map[string]interface{}, result map[string]interface{})

type Rule

type Rule translator.Rule

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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