Skip to main content

Documentation Index

Fetch the complete documentation index at: https://otel.fyi/llms.txt

Use this file to discover all available pages before exploring further.

Ntp Receiver

Status Available in: contrib Maintainers: @atoulme, @paulojmdias Source: opentelemetry-collector-contrib

Supported Telemetry

Metrics

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 are ns, 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

receivers:
  ntp:
    endpoint: pool.ntp.org:123
    collection_interval: 1h
    initial_delay: 5m
The full list of settings exposed for this receiver are documented in config.go with detailed sample configurations in testdata/config.yaml.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml

Metrics

Metric NameDescriptionUnitTypeAttributes
ntp.offsetTime difference between local and NTP server clocksnsGauge

Resource Attributes

Attribute NameDescriptionTypeEnabled
ntp.hostNTP server used. Corresponds to configured host.string

Last generated: 2026-04-20