Skip to content

http collector

http collector performs HTTP request and collects the response performance data.

Configuration

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

Collected Metrics

MetricMetric TypePlatformDescription
tsAllISO 8601 Timestamp
collectorAllCollector Id
labelsAllList of labels
timeAllResponse time
bytesAllResponse size (uncompressed)
compressed_bytesResponse size (compressed)

Compilation Features

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