Crometheus::StandardExports::ProcFSExports
Inherits Crometheus::StandardExports / Crometheus::Metric / Reference / Object
A subclass of StandardExports that also reports process
information from procfs.
Generated by Crometheus.make_standard_exports.
Constructors
new(name : Symbol, docstring : String, register_with : Crometheus::Registry | Nil = Crometheus.default_registry, pid : Int64 = Process.pid, procfs : String = "/proc")
SourceInstance methods
samples
Yields one Sample for each time series this metric represents.
Called by Registry to collect data for exposition.
Users generally do not need to call this.