NHMDenmark / DaSSCo-Integration

This Repo will include integration of dassco storage from northtec
0 stars 0 forks source link

Health mongo db entry structure #96

Open Baeist opened 2 weeks ago

Baeist commented 2 weeks ago

The entries created in the health db when the health api is contacted.

Field Type Example Comment
_id string 66703d6d32a36dad03a9892e Autogenerated by mongo db
service string Open file share ARS The name of the service that contacted the health service
timestamp date 2024-06-17 15:43:07,666
severity_level string WARNING Either WARNING or ERROR.
message string Can be anything we want to say This is an added message we made in the code when a specific warning/error occur
exception string Stacktrace(too long to show a real example) The exception that was raised by the service. Very technical.
guid string 7e8-5-0e-0a-00-0b-0-001-00-000-02052f-00000 Asset guid in case the error was specific to that asset.
flag string "hpc_ready From the flag enum list. If a flag needs updating due to the error it will be shown here.