Skip to main content
1.6.0

Configuration Overview

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

Minimal configuration​

rules:
- pattern: ".*"

If rules is omitted, the collector uses one default rule and collects matching values with the default metric format.

Configuration areas​

AreaYAML locationDocumentation
Collector and rulestop level, rulesRules
Object and attribute filterstop levelObject names
Metric customizersmetricCustomizersMetric customizers
HTTP serverhttpServerHTTP server
HTTP authenticationhttpServer.authenticationAuthentication
HTTP TLS/mTLShttpServer.sslSSL
OpenTelemetryopenTelemetryOpenTelemetry

Advanced skeleton​

startDelaySeconds: 0
lowercaseOutputName: false
lowercaseOutputLabelNames: false

httpServer:
metrics:
path: /metrics
threads:
minimum: 1
maximum: 10
keepAliveTime: 120

openTelemetry:
endpoint: http://localhost:4317

rules:
- pattern: ".*"

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