Ntp Receiver
contrib
Maintainers: @atoulme, @paulojmdias
Source: opentelemetry-collector-contrib
Supported Telemetry
Overview
Configuration
-
endpoint: (default =pool.ntp.org:123) Endpoint of the NTP server. Must be formatted as{host}:{port}. -
collection_interval: (default =30m): This receiver collects metrics on an interval. This value must be a string readable by Golang’s time.ParseDuration. Valid time units arens,us(orµs),ms,s,m,h. -
initial_delay(default =1s): defines how long this receiver waits before starting. -
metrics(default: see DefaultMetricsSettings here): Allows enabling and disabling specific metrics from being collected in this receiver.
Example Configuration
Metrics
Details about the metrics produced by this receiver can be found in metadata.yamlMetrics
| Metric Name | Description | Unit | Type | Attributes |
|---|---|---|---|---|
✅ ntp.offset | Time difference between local and NTP server clocks | ns | Gauge |
Resource Attributes
| Attribute Name | Description | Type | Enabled |
|---|---|---|---|
ntp.host | NTP server used. Corresponds to configured host. | string | ✅ |
Last generated: 2026-04-13