Krzysztof Findeisen for the record, I found that the following metrics need to be added the verify_metrics.
- association.numNewDiaObjects
- association.fracUpdatedDiaObjects
- association.numUnassociatedDiaObjects
- ip_diffim.numSciSources
- ip_diffim.fracDiaSourcesToSciSources
- association.totalUnassociatedDiaObjects
They are being ignored. Instead of raising an exception, the SQuaSH API gives a warning now.
[pid: 17|app: 0|req: 1/1] 10.56.0.1 () {42 vars in 540 bytes} [Mon Nov 5 18:43:52 2018] POST /register => generated 57 bytes in 23 msecs (HTTP/1.1 400) 2 headers in 80 bytes (1 switches on core 0)
|
[pid: 18|app: 0|req: 1/2] 10.56.0.1 () {42 vars in 532 bytes} [Mon Nov 5 18:43:55 2018] POST /auth => generated 188 bytes in 99 msecs (HTTP/1.1 200) 2 headers in 72 bytes (1 switches on core 0)
|
./app/api_v1/job.py:304: UserWarning: Metric `association.numNewDiaObjects` not found, it looks like the metrics definition is out of date.
|
"date.".format(metric_name))
|
./app/api_v1/job.py:304: UserWarning: Metric `association.fracUpdatedDiaObjects` not found, it looks like the metrics definition is out of date.
|
"date.".format(metric_name))
|
./app/api_v1/job.py:304: UserWarning: Metric `association.numUnassociatedDiaObjects` not found, it looks like the metrics definition is out of date.
|
"date.".format(metric_name))
|
./app/api_v1/job.py:304: UserWarning: Metric `ip_diffim.numSciSources` not found, it looks like the metrics definition is out of date.
|
"date.".format(metric_name))
|
./app/api_v1/job.py:304: UserWarning: Metric `ip_diffim.fracDiaSourcesToSciSources` not found, it looks like the metrics definition is out of date.
|
"date.".format(metric_name))
|
./app/api_v1/job.py:304: UserWarning: Metric `association.totalUnassociatedDiaObjects` not found, it looks like the metrics definition is out of date.
|
"date.".format(metric_name))
|
[pid: 20|app: 0|req: 1/3] 10.56.0.1 () {44 vars in 732 bytes} [Mon Nov 5 18:44:33 2018] POST /job => generated 156 bytes in 412038 msecs (HTTP/1.1 202) 2 headers in 78 bytes (1 switches on core 0)
|
This issue has caused problems in
DM-16399, because SQuaSH fails if measurements are not associated with a known metric. Angelo Fausti has a workaround, but it would be best to fix the problem quickly.