Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
Types ¶
type Config ¶ added in v0.24.0
type Config struct { config.ReceiverSettings `mapstructure:",squash"` // The path for the JMX Metric Gatherer uber JAR (/opt/opentelemetry-java-contrib-jmx-metrics.jar by default). JARPath string `mapstructure:"jar_path"` // The Service URL or host:port for the target coerced to one of form: service:jmx:rmi:///jndi/rmi://<host>:<port>/jmxrmi. Endpoint string `mapstructure:"endpoint"` // The target system for the metric gatherer whose built in groovy script to run. Cannot be set with GroovyScript. TargetSystem string `mapstructure:"target_system"` // The script for the metric gatherer to run on the configured interval. Cannot be set with TargetSystem. GroovyScript string `mapstructure:"groovy_script"` // The duration in between groovy script invocations and metric exports (10 seconds by default). // Will be converted to milliseconds. CollectionInterval time.Duration `mapstructure:"collection_interval"` // The exporter settings for OTLPExporterConfig otlpExporterConfig `mapstructure:"otlp"` // The JMX username Username string `mapstructure:"username"` // The JMX password Password string `mapstructure:"password"` // The keystore path for SSL KeystorePath string `mapstructure:"keystore_path"` // The keystore password for SSL KeystorePassword string `mapstructure:"keystore_password"` // The keystore type for SSL KeystoreType string `mapstructure:"keystore_type"` // The truststore path for SSL TruststorePath string `mapstructure:"truststore_path"` // The truststore password for SSL TruststorePassword string `mapstructure:"truststore_password"` // The JMX remote profile. Should be one of: // `"SASL/PLAIN"`, `"SASL/DIGEST-MD5"`, `"SASL/CRAM-MD5"`, `"TLS SASL/PLAIN"`, `"TLS SASL/DIGEST-MD5"`, or // `"TLS SASL/CRAM-MD5"`, though no enforcement is applied. RemoteProfile string `mapstructure:"remote_profile"` // The SASL/DIGEST-MD5 realm Realm string `mapstructure:"realm"` // Map of property names to values to pass as system properties when running JMX Metric Gatherer Properties map[string]string `mapstructure:"properties"` }
Click to show internal directories.
Click to hide internal directories.