node_stats

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Elasticsearch string                 `config:"elasticsearch,omitempty"`
	NodeUUIDs     []string               `config:"node_uuids,omitempty" json:"node_uuids"`
	Labels        map[string]interface{} `config:"labels,omitempty"`
	Level         string                 `config:"level,omitempty"`
}

type NodeStats

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

func (*NodeStats) Collect

func (*NodeStats) Name

func (p *NodeStats) Name() string

func (*NodeStats) Process

func (p *NodeStats) Process(c *pipeline.Context) error

func (*NodeStats) SaveNodeStats

func (p *NodeStats) SaveNodeStats(clusterId, clusterUUID, nodeID string, f, shardInfo interface{}, timestamp time.Time)

func (*NodeStats) SaveShardStats

func (p *NodeStats) SaveShardStats(clusterId, clusterUUID, nodeID, host, indexName, indexUUID, shardID string, f interface{}, timestamp time.Time)

Jump to

Keyboard shortcuts

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