Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tomcat request reference + clarify a bit
  • Loading branch information
SylvainJuge committed Jun 18, 2024
commit 313ed49042f9a75319fe8cdcdc16155bc738e8c0
2 changes: 1 addition & 1 deletion instrumentation/jmx-metrics/javaagent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The following guidelines are recommended when modifying/extending pre-defined me
- start with `{target}.` prefix, where `{target}` is the target system, for example `tomcat` or `hadoop`.
- align with semconv when semantics are identical, for example:
- `wildfly.network.io` is consistent with [`system.network.io`](https://opentelemetry.io/docs/specs/semconv/system/system-metrics/#metric-systemnetworkio)
- when not fitting semconv, reuse the existing mbean attribute names as metric suffix to preserve semantics, for example `tomcat.errorCount` where tomcat reports as error any status >=400 and another app server might do differently.
- when not fitting semconv, reuse the existing mbean attribute names as metric suffix to preserve semantics of the exposed MBeans, for example `tomcat.request.errorCount` where tomcat reports as error any status >=400 and another app server might do it differently.

## Configuration Files

Expand Down