Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdditionalTargetSystems = "n/a"
View Source
var MetricsGathererHash = "n/a"
Provided as a build time variable if a development or customer specific JMX Metrics Gatherer needs to be supported
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. TargetSystem string `mapstructure:"target_system"` // 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 truststore type for SSL TruststoreType string `mapstructure:"truststore_type"` // 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"` // Array of additional JARs to be added to the the class path when launching the JMX Metric Gatherer JAR AdditionalJars []string `mapstructure:"additional_jars"` // Map of resource attributes used by the Java SDK Autoconfigure to set resource attributes ResourceAttributes map[string]string `mapstructure:"resource_attributes"` // Log level used by the JMX metric gatherer. Should be one of: // `"trace"`, `"debug"`, `"info"`, `"warn"`, `"error"`, `"off"` LogLevel string `mapstructure:"log_level"` }
Click to show internal directories.
Click to hide internal directories.