Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a LogicMonitor exporter factory
Types ¶
type APIToken ¶
type APIToken struct { AccessID string `mapstructure:"access_id"` AccessKey configopaque.String `mapstructure:"access_key"` }
type Config ¶
type Config struct { confighttp.ClientConfig `mapstructure:",squash"` exporterhelper.QueueSettings `mapstructure:"sending_queue"` configretry.BackOffConfig `mapstructure:"retry_on_failure"` ResourceToTelemetrySettings resourcetotelemetry.Settings `mapstructure:"resource_to_telemetry_conversion"` // ApiToken of Logicmonitor Platform APIToken APIToken `mapstructure:"api_token"` // Logs defines the Logs exporter specific configuration Logs LogsConfig `mapstructure:"logs"` }
Config defines configuration for LogicMonitor exporter.
type LogsConfig ¶ added in v0.92.0
type LogsConfig struct { // Operation to be performed for resource mapping. Valid values are `and`, `or`. ResourceMappingOperation MappingOperation `mapstructure:"resource_mapping_op"` }
LogsConfig defines the logs exporter specific configuration options
type MappingOperation ¶ added in v0.92.0
type MappingOperation string
const ( And MappingOperation = "and" Or MappingOperation = "or" )
func (*MappingOperation) UnmarshalText ¶ added in v0.92.0
func (mop *MappingOperation) UnmarshalText(in []byte) error
Click to show internal directories.
Click to hide internal directories.