nri-flex-ntp-offset

command module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

New Relic Infrastructure Integration Setting

# /etc/newrelic-infra/integrations.d/ntp-offset.yml
integrations:
  - name: nri-flex
    config:
      name: ntpOffset
      apis:
        - name: ntpOffset
          commands:
            - run: /opt/nri-flex-ntp-offset

Graph/Dashboard NRQL Example

SELECT latest(`clock.offset.ms`) FROM ntpOffsetSample FACET fullHostname TIMESERIES

Alert Example

SELECT abs(latest(`clock.offset.ms`)) FROM ntpOffsetSample

Development

[[ -f "$(go env GOPATH)/bin/task" ]] || go install github.com/go-task/task/v3/cmd/task@latest
$(go env GOPATH)/bin/task lint

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址