process

package
v0.0.0-...-b6f583f Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	Name                    = "process"
	FlagProcessExclude      = "collector.process.exclude"
	FlagProcessInclude      = "collector.process.include"
	FlagEnableWorkerProcess = "collector.process.iis"
)

Variables

View Source
var ConfigDefaults = Config{
	ProcessInclude:      ".+",
	ProcessExclude:      "",
	EnableWorkerProcess: false,
}

Functions

func New

func New(logger log.Logger, config *Config) types.Collector

func NewWithFlags

func NewWithFlags(app *kingpin.Application) types.Collector

Types

type Config

type Config struct {
	ProcessInclude      string `yaml:"process_include"`
	ProcessExclude      string `yaml:"process_exclude"`
	EnableWorkerProcess bool   `yaml:"enable_iis_worker_process"`
}

type WorkerProcess

type WorkerProcess struct {
	AppPoolName string
	ProcessId   uint64
}

Jump to

Keyboard shortcuts

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