Skip to content

Commit 17fd73f

Browse files
committed
jmx scraper: add missing relevant config options
1 parent 032e0e6 commit 17fd73f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jmx-scraper/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,14 @@ Setting the value of `otel.jmx.target.source` allows to fit the following use-ca
8585
- `legacy` allows to keep using definitions that are very close to JMX Gatherer, this is the recommended option if preserving compatibility is required. Those definitions are in maintenance and are unlikely to evolve over time.
8686
- `instrumentation` forces using metrics definitions from instrumentation, hence only the reference. Metrics definitions and supported values of `otel.jmx.target.system` will be updated whenever the dependency on instrumentation is updated.
8787

88-
The following SDK configuration options are also relevant
88+
The following [SDK configuration options](https://opentelemetry.io/docs/languages/java/configuration/#environment-variables-and-system-properties) are also relevant
8989

9090
| config option | default value | description |
9191
|-------------------------------|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
9292
| `otel.metric.export.interval` | `1m` (1 minute) | metric export interval, also controls the JMX sampling interval |
9393
| `otel.metrics.exporter` | `otlp` | comma-separated list of metrics exporters supported values are `otlp` and `logging`, additional values might be provided through extra libraries in the classpath |
94+
| `otel.service.name` | | service name |
95+
| `otel.resource.attributes` | | resource attributes, allow to to provide [service attributes](https://opentelemetry.io/docs/specs/semconv/registry/attributes/service/) |
9496

9597
In addition to OpenTelemetry configuration, the following Java system properties can be provided
9698
through the command-line arguments, properties file or stdin and will be propagated to the JVM system properties:

0 commit comments

Comments
 (0)