elasticsearch

package
v0.57.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	web.HTTP        `yaml:",inline"`
	ClusterMode     bool `yaml:"cluster_mode"`
	DoNodeStats     bool `yaml:"collect_node_stats"`
	DoClusterHealth bool `yaml:"collect_cluster_health"`
	DoClusterStats  bool `yaml:"collect_cluster_stats"`
	DoIndicesStats  bool `yaml:"collect_indices_stats"`
}

type Elasticsearch

type Elasticsearch struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *Elasticsearch

func (*Elasticsearch) Charts

func (es *Elasticsearch) Charts() *module.Charts

func (*Elasticsearch) Check

func (es *Elasticsearch) Check() bool

func (*Elasticsearch) Cleanup

func (es *Elasticsearch) Cleanup()

func (*Elasticsearch) Collect

func (es *Elasticsearch) Collect() map[string]int64

func (*Elasticsearch) Init

func (es *Elasticsearch) Init() bool

Jump to

Keyboard shortcuts

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