Skip to content

dns collector

dns collects query statistics.

Configuration

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

Collected Metrics

MetricMetric TypePlatformDescription
tsAllISO 8601 Timestamp
collectorAllCollector Id
labelsAllList of labels
totalAll
successAll
failedAll
min_nsAll
max_nsAll
avg_nsAll
jitter_nsAll

Compilation Features

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