Перейти к содержанию

uptime collector

uptime collects system uptime.

Configuration

ParameterTypeDefaultDescription
idStringCollector's ID. Must be unique per agent instance. Will be returned along with the metrics.
typeStringMust be uptime
serviceStringEqual to idService id for output metrics
intervalIntegerRepetition interval in seconds
labelsArray of StringsList of additional labels. Will be returned along with metrics

Collected Metrics

MetricMetric TypePlatformDescription
tsAllISO 8601 Timestamp
collectorAllCollector Id
labelsAllList of labels
uptimeAllSystem uptime, in seconds

Compilation Features

Enable uptime feature during compiling the agent (Enabled by default).