Add process page fault metrics #2809
Labels
area:semantic-conventions
Related to semantic conventions
needs discussion
Need more information before all suitable labels can be applied
spec:metrics
Related to the specification/metrics directory
triaged-needmoreinfo
The issue is triaged - the OTel community needs more information to decide
What are you trying to achieve?
I want to add process page fault metrics to the semantic conventions. Here are the specific metrics I have in mind, relative to how Linux reports them:
/proc/[pid]/stat
Linux file, described asmajflt
field in the man page/proc/[pid]/stat
Linux file, described asminflt
field in the man page/proc/[pid]/stat
Linux file, described ascmajflt
field in the man page/proc/[pid]/stat
Linux file, described ascminflt
field in the man pageI propose the following names for the metrics:
process.memory.page_faults
with the attributetype
of eitherhard
orsoft
process.memory.child_page_faults
with the attributetype
of eitherhard
orsoft
Additional context
I have read through the discussions on putting information in metric names vs. attributes (#2589 , #2726). I considered various options for the metric names and attributes, including putting the
type
in the metric name and putting thechild
into an attribute (couldn't find a good name for this attribute). Please let me know if you have any thoughts on this.Related issue to add these metrics in
hostmetrics
receiver: open-telemetry/opentelemetry-collector-contrib#14084.The text was updated successfully, but these errors were encountered: