diff options
Diffstat (limited to 'files/common/openwrt/chrony_prometheus-node-exporter.lua')
-rw-r--r-- | files/common/openwrt/chrony_prometheus-node-exporter.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/files/common/openwrt/chrony_prometheus-node-exporter.lua b/files/common/openwrt/chrony_prometheus-node-exporter.lua index fbce2f3c..a3c4b292 100644 --- a/files/common/openwrt/chrony_prometheus-node-exporter.lua +++ b/files/common/openwrt/chrony_prometheus-node-exporter.lua @@ -62,6 +62,10 @@ local function scrape() metric("chrony_tracking_root_dispersion_seconds", "gauge", nil, tonumber(items[12])) metric("chrony_tracking_stratum", "gauge", nil, tonumber(items[3])) metric("chrony_tracking_system_time_seconds", "gauge", nil, tonumber(items[5])) + metric("chrony_tracking_frequency_ppms", "gauge", nil, tonumber(items[8])) + metric("chrony_tracking_residual_frequency_ppms", "gauge", nil, tonumber(items[9])) + metric("chrony_tracking_skew_ppms", "gauge", nil, tonumber(items[10])) + metric("chrony_tracking_update_interval_seconds", "gauge", nil, tonumber(items[13])) end local metric_sources_ls_age = metric("chrony_sources_last_sample_age_seconds", "gauge") |