Metric instrument limit naming #2557
Labels
area:semantic-conventions
Related to semantic conventions
spec:metrics
Related to the specification/metrics directory
The metric semantic conventions has the following instrument naming recommendation:
The java runtime memory semantic conventions has the following instruments:
process.runtime.jvm.memory.max
process.runtime.jvm.memory.init
The
*.max
instrument arguably should be renamed to*.limit
to align with the naming recommendation. An argument to keep it as is that the idea of max memory is entrenched in java vernacular - renaming it tolimit
may be surprising.Separately, instruments that have a max often have something like a minimum value as well. In the case of java memory, its
*.init
. The naming recommendation of limit doesn't neatly accommodate instruments with a min.To account for this, we could change the naming recommendation to
upper_limit
, and include a correspondinglower_limit
for symmetry.The text was updated successfully, but these errors were encountered: