Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New component: NTP receiver #34375

Closed
3 tasks
atoulme opened this issue Aug 1, 2024 · 5 comments
Closed
3 tasks

New component: NTP receiver #34375

atoulme opened this issue Aug 1, 2024 · 5 comments
Labels
Accepted Component New component has been sponsored

Comments

@atoulme
Copy link
Contributor

atoulme commented Aug 1, 2024

The purpose and use-cases of the new component

This receiver retrieves clock offset from ntp server, respecting the TOS https://www.pool.ntp.org/tos.html.

It emits one metric, the offset in seconds from the NTP server.

Example configuration for the component

receivers:
  ntp:
    host: 0.pool.ntp.org

Telemetry data types supported

metrics

Is this a vendor-specific component?

  • This is a vendor-specific component
  • If this is a vendor-specific component, I am a member of the OpenTelemetry organization.
  • If this is a vendor-specific component, I am proposing to contribute and support it as a representative of the vendor.

Code Owner(s)

atoulme

Sponsor (optional)

@MovieStoreGuy

Additional context

No response

Copy link
Contributor

github-actions bot commented Oct 1, 2024

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

@MovieStoreGuy
Copy link
Contributor

I am happy to sponsor this.

@atoulme atoulme added Accepted Component New component has been sponsored and removed Sponsor Needed New component seeking sponsor labels Oct 15, 2024
MovieStoreGuy pushed a commit that referenced this issue Oct 17, 2024
#### Description
Introduce a new receiver, NTP receiver. This is the first PR as skeleton
for the receiver.

#### Link to tracking issue
Related to #34375 

#### Testing
N/A

#### Documentation
metadata.yaml, README.
MovieStoreGuy pushed a commit that referenced this issue Oct 18, 2024
#### Description
Adds initial implementation of ntpreceiver.

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
#34375
@KieranP
Copy link

KieranP commented Oct 29, 2024

Saw this got released in 0.112.0. We use OTP MFA, so clock sync is important to us. So just tried to use it with the example configuration here: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/ntpreceiver/README.md , but getting this error when validating the config and trying to restart the collector:

error decoding 'receivers': unknown type: "ntp" for id: "ntp" (valid values: [prometheus_simple solace splunk_hec azuremonitor otlpjsonfile jmx oracledb postgresql rabbitmq splunkenterprise wavefront awsxray filestats bigip docker_stats k8s_cluster kubeletstats nop awsfirehose apachespark couchdb iis otelarrow signalfx skywalking statsd azureeventhub chrony haproxy jaeger memcached mongodbatlas opencensus podman_stats apache collectd vcenter purefb tcplog carbon prometheus sshcheck webhookevent pulsar riak azureblob expvar github kafkametrics receiver_creator snowflake otlp awscontainerinsightreceiver zipkin sapm windowsperfcounters hostmetrics kafka namedpipe k8sobjects loki sqlserver syslog snmp zookeeper cloudfoundry journald fluentforward httpcheck nsxt active_directory_ds awscloudwatch filelog googlecloudmonitoring nginx redis datadog elasticsearch flinkmetrics googlecloudpubsub influxdb mongodb purefa sqlquery aerospike awsecscontainermetrics udplog windowseventlog mysql cloudflare k8s_events])
> otelcol-contrib --version
otelcol-contrib version 0.112.0

Any ideas?

@atoulme
Copy link
Contributor Author

atoulme commented Nov 2, 2024

It's not shipping in contrib yet. See open-telemetry/opentelemetry-collector-releases#723

@atoulme
Copy link
Contributor Author

atoulme commented Nov 2, 2024

Marking this issue as closed as the receiver has landed.

@atoulme atoulme closed this as completed Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Component New component has been sponsored
Projects
None yet
Development

No branches or pull requests

3 participants