Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define alert rule for missing GDC metadata archive #13

Closed
tomkralidis opened this issue May 22, 2024 · 7 comments · Fixed by #26
Closed

define alert rule for missing GDC metadata archive #13

tomkralidis opened this issue May 22, 2024 · 7 comments · Fixed by #26

Comments

@tomkralidis
Copy link
Collaborator

In cases where a GDC does not produce a metadata archive zipfile on a daily basis (noting the 24 hour retention time for GC), there exists a risk / gap in not being able to cold start a GDC from a known archive. Consider raising an alert in this case.

@kaiwirt
Copy link
Collaborator

kaiwirt commented May 23, 2024

What are suitable solutions for this?

GC providing a metric with the time stamp of the last time it received the archive?

Consider how the GDC can ensure that the archive is complete and unzipable before sending it

@kaiwirt
Copy link
Collaborator

kaiwirt commented Jun 6, 2024

I was wondering if this is a duplicate of #16 ?

Do we need two metrics, one for metadata and one for the archive? See also the comment from @aschremm in #16
I only recall that we wanted to have an alert when the archive is not received by the GC for more than 24 hours....

@tomkralidis

@tomkralidis
Copy link
Collaborator Author

@kaiwirt we have wmo_wis2_gc_last_metadata_timestamp_seconds as part of GC metrics. Can we define a rule to trigger an alert when the timestamp is older than 24 hours?

@kaiwirt
Copy link
Collaborator

kaiwirt commented Nov 14, 2024

@antje-s
Copy link
Collaborator

antje-s commented Nov 19, 2024

Currently we do not use the metric wmo_wis2_gc_last_metadata_timestamp_seconds for the zip-archive but set the timestamp for the last download of a metadata record per centre_id

@kaiwirt
Copy link
Collaborator

kaiwirt commented Nov 21, 2024

@antje-s : Would it be possible to add the zip-archive as a metadata record from the GDC in that sense?

@kaiwirt
Copy link
Collaborator

kaiwirt commented Dec 16, 2024

@el4ren Is it possible to make the suggested change such that the linked pull request can go in?

kaiwirt added a commit that referenced this issue Dec 16, 2024
define alert rule for missing GDC metadata archive (#13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants