psoft

package
v0.0.0-...-7bffe46 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package psoft is a Metricbeat module that contains MetricSets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchStats

func FetchStats(client *psoftjmx.PsoftJmxClient) ([]map[string]interface{}, error)

FetchStats all psoft metric data for specific domains for the metricset Type

func GetPsoftJMXClient

func GetPsoftJMXClient() *psoftjmx.PsoftJmxClient

NewPsoftJMXClient initializes and returns a new PsoftJMX client

func NewModule

func NewModule(base mb.BaseModule) (mb.Module, error)

Types

type Config

type Config struct {
	PathInventoryFile         string `config:"pathInventoryFile"`
	PathBlackoutFile          string `config:"pathBlackoutFile"`
	PathExclusionFile         string `config:"pathExclusionFile"`
	AttribWebMetrics          string `config:"attribWebMetrics"`
	AttribAppMetrics          string `config:"attribAppMetrics"`
	AttribPrcMetrics          string `config:"attribPrcMetrics"`
	LogLevel                  string `config:"logLevel"`
	ConcurrentWorkers         int    `config:"concurrentWorkers"`
	NailgunServerConn         string `config:"nailgunServerConn"`
	JavaPath                  string `config:"javaPath"`
	ConcatenateDomainWithHost bool   `config:"concatDomainHost"`
	UseLastXCharactersOfHost  int    `config:"useLastXCharsOfHost"`
	LocalInventoryOnly        bool   `config:"localInventoryOnly"`
}

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns default module config

type Module

type Module struct {
	mb.BaseModule
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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