redfishreceiver

package module
v0.0.0-...-0aa7a04 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

README

Redfish Receiver

This receiver fetches metrics from a Redfish compliant endpoint via the Redfish Telemetry Service APIs. First iteration is migrating everything from Richard's Redfish Receiver.

Prerequisites

Likely depends on the vendor.

Dell/iDRAC requires a Datacenter License to enable the Telemetry Service

Configuration

Example Configuration

Metrics

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a factory for the rrr receiver.

Types

type Config

type Config struct {
	scraperhelper.ScraperControllerSettings `mapstructure:",squash"`
	confighttp.HTTPClientSettings           `mapstructure:",squash"`
	Username                                string                   `mapstructure:"username"`
	Password                                string                   `mapstructure:"password"`
	Mode                                    string                   `mapstructure:"mode"`
	Reports                                 []string                 `mapstructure:"reports"`
	AdjustTime                              bool                     `mapstructure:"adjusttime"`
	Attributes                              map[string]string        `mapstructure:"attributes"`
	Merge                                   []Merge                  `mapstructure:"merge"`
	Metrics                                 metadata.MetricsSettings `mapstructure:"metrics"`
}

func (*Config) Validate

func (cfg *Config) Validate() error

Validate checks if the receiver configuration is valid

type Merge

type Merge struct {
	Report      string `mapstructure:"report"`
	HighMetric  string `mapstructure:"highmetric"`
	LowMetric   string `mapstructure:"lowmetric"`
	NewMetric   string `mapstructure:"newmetric"`
	Description string `mapstructure:"description"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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