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

Implement health status features #8

Open
5 tasks
davidverweij opened this issue Nov 22, 2021 · 0 comments
Open
5 tasks

Implement health status features #8

davidverweij opened this issue Nov 22, 2021 · 0 comments

Comments

@davidverweij
Copy link
Member

davidverweij commented Nov 22, 2021

API health/status endpoints, which later will be transformed into periodic status emails?

  • Monitor failed upload groups with identifiers for resolving

When multiple files are downloaded for a single DMP upload, one of the files might error, effectively cancelling the whole DMP upload. We want to stay informed of these cases, even more so when they persist.

  • Total number of unresolved records (records with issues), overall and per technology

A high-level counter to indicate how many records (== data files) have issues (== not uploaded to DMP). Nice to have: elaborated details on 'where' it fails (e.g., no device_id, or no patient_id).

  • Think through scenarios of possible failures (e.g., human error on UCAM, or elsewhere)

  • Authentication errors with 3rd party services (e.g. Dreem login)

  • Do we want to offer the ability to 'ignore' faulty records?

For the benefit of data collection, possible 'quick fixes' by ignoring files and continuing upload for the rest (see also group identifier/download faults). Then, in a non-destructive way and being able to revert?

@davidverweij davidverweij changed the title Implement recovery structure for failed grouped downloads Implement health status features Jan 10, 2022
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

No branches or pull requests

1 participant