plugin

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultJobCollector

func NewDefaultJobCollector(metrics *container.Metrics) plugin.JobCollector

NewDefaultJobCollector 创建默认工作收集器

Types

type DefaultJobCollector

type DefaultJobCollector struct {
	// contains filtered or unexported fields
}

DefaultJobCollector 默认工作收集器

func (*DefaultJobCollector) JSON added in v0.1.3

func (d *DefaultJobCollector) JSON() *encoding.JSON

JSON 获取json的指标

func (*DefaultJobCollector) JSONByKey added in v0.1.3

func (d *DefaultJobCollector) JSONByKey(key string) *encoding.JSON

JSONByKey 获取关键字是key的json的指标

Jump to

Keyboard shortcuts

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