Add meinberg_ltos_exporter to exporters list#3046
Open
raphaelthomas wants to merge 1 commit into
Open
Conversation
Adds `meinberg_ltos_exporter`, a Prometheus exporter for Meinberg LANTIME OS (LTOS) devices (timekeeping appliances used as network time servers). It scrapes the device's REST API and exposes metrics on clock sync status, GNSS receiver state, NTP peer/system stats, and system health. Sample metrics (see https://github.com/raphaelthomas/meinberg_ltos_exporter/blob/main/tests/testdata/m600-gps.metrics for the full sample output): # HELP meinberg_ltos_build_info Meinberg device build information as labels # TYPE meinberg_ltos_build_info gauge meinberg_ltos_build_info{api_version="20.05.013",firmware_version="fw_7.10.008",host="mbg1.time.example.com",target="http://localhost"} 1 # HELP meinberg_ltos_clock_synchronized Meinberg clock synchronization status # TYPE meinberg_ltos_clock_synchronized gauge meinberg_ltos_clock_synchronized{clock_id="clk1",host="mbg1.time.example.com"} 1 # HELP meinberg_ltos_clock_receiver_gnss_satellites_good Number of good satellites for the GNSS receiver # TYPE meinberg_ltos_clock_receiver_gnss_satellites_good gauge meinberg_ltos_clock_receiver_gnss_satellites_good{clock_id="clk1",host="mbg1.time.example.com"} 9 # HELP meinberg_ltos_ntp_sys_stratum Meinberg NTP stratum level # TYPE meinberg_ltos_ntp_sys_stratum gauge meinberg_ltos_ntp_sys_stratum{host="mbg1.time.example.com",refid="GPS"} 1 # HELP meinberg_ltos_system_info Meinberg system information as labels # TYPE meinberg_ltos_system_info gauge meinberg_ltos_system_info{host="mbg1.time.example.com",model="M600",serial_number="0123456789"} 1 # HELP meinberg_ltos_up Indicates if the Meinberg LTOS device is reachable # TYPE meinberg_ltos_up gauge meinberg_ltos_up{target="http://localhost"} 1 Signed-off-by: Raphael Seebacher <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
meinberg_ltos_exporter, a Prometheus exporter for Meinberg LANTIME OS (LTOS) devices (timekeeping appliances used as network time servers). It scrapes the device's REST API and exposes metrics on clock sync status, GNSS receiver state, NTP peer/system stats, and system health.Sample metrics (see https://github.com/raphaelthomas/meinberg_ltos_exporter/blob/main/tests/testdata/m600-gps.metrics for the full sample output):