Documentation ¶
Index ¶
- func AdjustMetricsMap(metricMap map[int]*PrometheusProcessMetrics, pids map[int]ps.Process, ...) (errs []error)
- func FindPidDifferences(pidMap map[int]*PrometheusProcessMetrics, wantedPids map[int]ps.Process) (removePids, newPids []int)
- type ProcessMetrics
- type PrometheusProcessMetrics
- type PrometheusProcessMetricsSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustMetricsMap ¶
func FindPidDifferences ¶
func FindPidDifferences(pidMap map[int]*PrometheusProcessMetrics, wantedPids map[int]ps.Process) (removePids, newPids []int)
Types ¶
type ProcessMetrics ¶
type ProcessMetrics struct {
// contains filtered or unexported fields
}
type PrometheusProcessMetrics ¶
type PrometheusProcessMetrics struct {
// contains filtered or unexported fields
}
func (*PrometheusProcessMetrics) Register ¶
func (pm *PrometheusProcessMetrics) Register() error
func (*PrometheusProcessMetrics) Set ¶
func (pm *PrometheusProcessMetrics) Set(processMetrics *ProcessMetrics)
func (*PrometheusProcessMetrics) Unregister ¶
func (pm *PrometheusProcessMetrics) Unregister()
type PrometheusProcessMetricsSet ¶
type PrometheusProcessMetricsSet struct {
// contains filtered or unexported fields
}
func NewPrometheusProcessMetricsSet ¶
func NewPrometheusProcessMetricsSet(namespace, procBinaryName, nameFlag string) *PrometheusProcessMetricsSet
func (*PrometheusProcessMetricsSet) Dispose ¶
func (set *PrometheusProcessMetricsSet) Dispose()
func (*PrometheusProcessMetricsSet) UpdateMetrics ¶
func (set *PrometheusProcessMetricsSet) UpdateMetrics()
func (*PrometheusProcessMetricsSet) UpdateMonitoredSet ¶
func (set *PrometheusProcessMetricsSet) UpdateMonitoredSet()
Click to show internal directories.
Click to hide internal directories.