Skip to main content
1.1.0

Configuration

JMX Exporter 1.1.0 uses an exporter YAML file. The same file can contain collector configuration, HTTP server configuration, and OpenTelemetry configuration.

Minimal configuration

rules:
- pattern: ".*"

Configuration areas

AreaTop-level keysDetails
CollectorstartDelaySeconds, hostPort, jmxUrl, username, password, ssl, rulesRules and Object Names
HTTP serverhttpServerHTTP Server Configuration
HTTP authenticationhttpServer.authenticationAuthentication
HTTP TLShttpServer.sslSSL
OpenTelemetryopenTelemetryOpenTelemetry

Advanced skeleton

startDelaySeconds: 0
lowercaseOutputName: false
lowercaseOutputLabelNames: false
includeObjectNames:
- "java.lang:type=Memory"
excludeObjectNames: []
rules:
- pattern: "java.lang<type=Memory><HeapMemoryUsage>Used"
name: jvm_memory_heap_used_bytes
type: GAUGE

Only document and use keys that are supported by the 1.1.0 implementation. The configuration reference lists the source-backed keys.