-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Component(s)
receiver/filestats
Is your feature request related to a problem? Please describe.
I use OpenTelemetry in a deployment which saves all coredumps to a specific folder, and want to export a metric describing the number of cores dumped. This would allow us to enable alerting when processes crash.
Describe the solution you'd like
Ideally the filestats receiver would implement a file.count
metric, or something similar, which tracks the number of files which match the specified include
parameter.
Unit | Metric Type | Value Type |
---|---|---|
1 | Gauge | Int |
Describe alternatives you've considered
I tried using hostmetricsreceiver with a root_path
set to our coredump directory, but unfortunately all instances of this receiver must share the same root_path
and our other use of the receiver took priority.
Additional context
No response