Skip to content

Commit 7559b7a

Browse files
committed
Readme update
1 parent d4bbe24 commit 7559b7a

File tree

1 file changed

+5
-4
lines changed
  • instrumentation/jmx-metrics/javaagent

1 file changed

+5
-4
lines changed

instrumentation/jmx-metrics/javaagent/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,18 @@ For now, only the `lowercase` transformation is supported, other additions might
312312
Sometimes JMX attribute values are reported in units that are not aligned with semantic conventions.
313313
For example, duration values are usually reported as milliseconds while semantic conventions recommend using seconds.
314314

315-
This issue can be solved by providing an optional `sourceUnit` metric property together with the `unit` metric property.
315+
This issue can be solved by providing an optional `sourceUnit` metric property together with the `unit` metric property.
316316
`sourceUnit` defines the native unit of value retrieved from JMX attribute, while `unit` defines the unit of the metric reported to the backend.
317317
If a conversion between `sourceUnit` and `unit` is available, then it is automatically applied before reporting the metric.
318318
If such a conversion is not available, then an error is reported during JMX metrics processing.
319319

320320
Currently available unit conversions:
321321

322322
| `sourceUnit` | `unit` |
323-
|-------------|-------|
324-
| ms | s |
325-
| ns | s |
323+
|--------------|-------|
324+
| ms | s |
325+
| us | s |
326+
| ns | s |
326327

327328
Example of defining unit conversion in yaml file:
328329
```yaml

0 commit comments

Comments
 (0)