Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultEndpoint = "https://swc.saas.ibm.com/metering/api/v2/metrics"
)
Variables ¶
View Source
var ErrWriteSizeMismatch = errors.New("tar wrote zero or wrong size bytes")
Functions ¶
func NewFactory ¶
NewFactory returns a new factory for the ibmsoftwarecentral exporter.
Types ¶
type Config ¶
type Config struct { confighttp.ClientConfig `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct. QueueSettings exporterhelper.QueueConfig `mapstructure:"sending_queue"` configretry.BackOffConfig `mapstructure:"retry_on_failure"` TimeoutSettings exporterhelper.TimeoutConfig `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct }
Config defines configuration for IBM Software Central exporter.
Click to show internal directories.
Click to hide internal directories.