From c9096265f085293121a11defded5c8621a392b69 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Fri, 13 Mar 2026 07:23:29 -0400 Subject: [PATCH 1/2] remove SCGC inline metrics table --- guide/sections/part3/sensor-centres.adoc | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/guide/sections/part3/sensor-centres.adoc b/guide/sections/part3/sensor-centres.adoc index e972af4..3a7bc8e 100644 --- a/guide/sections/part3/sensor-centres.adoc +++ b/guide/sections/part3/sensor-centres.adoc @@ -67,21 +67,9 @@ For such a centre operated by Météo-France the centre-id would be fr-meteofran ===== 3.3.3.1 Technical considerations -A list of metrics has been defined for this Sensor Centre (see https://github.com/wmo-im/wis2-metric-hierarchy/blob/main/metrics/scgc.csv): - -[cols="3*", options="header"] -|============================================================================================================================================================= -wmo_wis2_scgc_cache_delay_seconds,global_cache|centre_id|report_by,Delay between origin and cache message,- -wmo_wis2_scgc_messages_cached_total,global_cache|centre_id|report_by,Number of data files cached for centre_id,- -wmo_wis2_scgc_messages_cached_delay_total,global_cache|centre_id|delay_threshold|report_by,Number of data files cached for centre_id within defined delay threshold (120s 300s 600s),- -wmo_wis2_scgc_messages_duplicates_total,centre_id|report_by,Number of messages with identical data_id and no rel=update,- -wmo_wis2_scgc_messages_published_total,centre_id|report_by,Number of cacheable data files published,- -wmo_wis2_scgc_messages_missed_total,global_cache|centre_id|report_by,Number of cacheable data not in global cache,- -wmo_wis2_scgc_messages_missed_all_total,centre_id|report_by,Number of cacheable data not in any cache,- -wmo_wis2_scgc_messages_cache_override_total,global_cache|centre_id|report_by,Number of cacheable data with override cache directive,- -|============================================================================================================================================================= - -The processing of this Sensor Centre is as follow: +A list of metrics has been defined for this Sensor Centre at https://github.com/wmo-im/wis2-metric-hierarchy/blob/main/metrics/scgc.csv. + +The processing of this Sensor Centre is as follows: - Subscribe to a given `origin/a/wis2/...`, it could be `#` or a particular centre-id on at least one Global Broker - Subscribe to a given `cache/a/wis2/...`, it could be `#` or a particular centre-id on at least one Global Cache - The subscription must be done on the broker of the Global Cache (unlike normal subscription to be made only on the Global Broker) From 34a6ab74987357b05a9c1079c3ebaf9d8f301ac3 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Fri, 13 Mar 2026 07:41:13 -0400 Subject: [PATCH 2/2] fix build --- guide/sections/part3/sensor-centres.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/sections/part3/sensor-centres.adoc b/guide/sections/part3/sensor-centres.adoc index 3a7bc8e..12c974d 100644 --- a/guide/sections/part3/sensor-centres.adoc +++ b/guide/sections/part3/sensor-centres.adoc @@ -88,7 +88,7 @@ For each of the subscription to the various Global Caches: - Compare this value with the three threshold defined in the metric table above. Increase by 1 `wmo_wis2_scgc_messages_cached_delay_total` using the threshold as a label (so less than 120s, less that 300s, less than 600s) - If no Notification Message for the `data_id` is received after the highest threshold (here 600s), increase by 1 `wmo_wis2_scgc_messages_missed_total` -As a Global Cache can decide not to cache a data granule, and in order to assess if a Global Cache has decided to do so, the Sensor Centre will compare the `links` array published on `origin/a/wis/#` and in the Notification Message received on `cache/a/wis2/#` if the two `links`are identical, then the Global Cache has decided not to cache the data. In this case, increase by 1 `wmo_wis2_scgc_messages_cache_override_total `. +As a Global Cache can decide not to cache a data granule, and in order to assess if a Global Cache has decided to do so, the Sensor Centre will compare the ``links`` array published on `++origin/a/wis/#++` and in the Notification Message received on `++cache/a/wis2/#++` if the two ``links`` are identical, then the Global Cache has decided not to cache the data. In this case, increase by 1 ``wmo_wis2_scgc_messages_cache_override_total``. If no Global Cache has cached the data, increase by 1 `wmo_wis2_scgc_messages_missed_all_total`