wmo-im / wis2-guide

WIS2 Guide
https://wmo-im.github.io/wis2-guide
Apache License 2.0
1 stars 6 forks source link

Global Monitor requirements on Global Discovery Catalogue #15

Open tomkralidis opened 1 year ago

tomkralidis commented 1 year ago

What metrics will the Global Monitor collect/report on w.r.t. the GDC? At the moment we can provide KPI reporting based on pywcmp, which provides a (JSON) report of how a WCMP2 record scores against the KPI matrix. As well, the result of #10 may also provide valuable GDC metrics.

cc @elgarraichemseddine @kaiwirt @golfvert

kaiwirt commented 1 year ago

@tomkralidis You can add your proposed metrics here https://github.com/wmo-im/wis2-metric-hierarchy/tree/main/metric-hierarchy

I think the KPI's would be valuable as well as the number of metadata and maybe the update frequency.

tomkralidis commented 1 year ago

TT-WISMD 2023-09-13:

tomkralidis commented 1 year ago

cc @antje-s

antje-s commented 12 months ago

Added a first proposal https://github.com/wmo-im/wis2-metric-hierarchy/blob/main/metric-hierarchy/gdc.csv Currently used:

tomkralidis commented 12 months ago

TT-WISMD 2023-10-06:

antje-s commented 11 months ago

Example: # HELP wmo_wis2_gc_downloaded Amount of downloaded file # TYPE wmo_wis2_gc_downloaded gauge wmo_wis2_gc_downloaded{centre_id="all",country="all",report_by="dwd"} 546701.0 wmo_wis2_gc_downloaded{centre_id="gts_to_wis2_dwd",country="xxg",report_by="dwd"} 0.0 wmo_wis2_gc_downloaded{centre_id="dwd",country="deu",report_by="dwd"} 357.0 wmo_wis2_gc_downloaded{centre_id="swic",country="xxg",report_by="dwd"} 38377.0 ...

Short description of the structure: # HELP my_description # TYPE metric_type my_metric_name{my_label1=label1_value,my_label2=label2_value} metric_value (Comment: Our values provided online also contain the timestamp of the metric value at the end of the line)

tomkralidis commented 11 months ago

@antje-s thanks; can you add a minimal example based on the proposed GDC metrics?

antje-s commented 10 months ago

e.g.

# HELP wmo_wis2_gdc_passed_total Number of metadata records passed validation
# TYPE wmo_wis2_gdc_passed_total gauge
wmo_wis2_gdc_passed_total{centre_id="dwd",report_by="ca-eccc-msc"} 4
wmo_wis2_gdc_passed_total{centre_id="eumetsat",report_by="ca-eccc-msc"} 5
...
# HELP wmo_wis2_gdc_failed_total Number of metadata records failed validation
# TYPE wmo_wis2_gdc_failed_total gauge
wmo_wis2_gdc_failed_total{centre_id="dwd",report_by="ca-eccc-msc"} 2
wmo_wis2_gdc_failed_total{centre_id="eumetsat",report_by="ca-eccc-msc"} 2
...

(one label for each center)