riakreceiver

package module
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 20 Imported by: 7

README

Riak Receiver

Status
Stability beta
Supported pipeline types metrics
Distributions contrib

Riak metrics will be collected from the /stats endpoint.

This Riak receiver will collect metrics for 3.x+

Configuration

The following configuration settings are required:

  • username
  • password

The following configuration settings are optional:

  • endpoint (default: http://localhost:8098): The URL of the node to be monitored.
  • collection_interval (default = 60s): This receiver collects metrics on an interval. Valid time units are ns, us (or µs), ms, s, m, h.
  • tls (defaults defined here): TLS control. By default insecure settings are rejected and certificate verification is on.
Example Configuration
receivers:
  riak:
    endpoint: http://localhost:8098
    username: otelu
    password: $RIAK_PASSWORD
    collection_interval: 60s

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a new receiver factory

Types

type Config

type Config struct {
	scraperhelper.ScraperControllerSettings `mapstructure:",squash"`
	confighttp.HTTPClientSettings           `mapstructure:",squash"`
	Username                                string                   `mapstructure:"username"`
	Password                                string                   `mapstructure:"password"`
	Metrics                                 metadata.MetricsSettings `mapstructure:"metrics"`
}

Config defines the configuration for the various elements of the receiver agent.

func (*Config) Validate

func (cfg *Config) Validate() error

Validate validates the configuration by checking for missing or invalid fields

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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