Commit 8dd95e99 authored by Fotis Paraskevopoulos's avatar Fotis Paraskevopoulos
Browse files

Log when there are not predictions for a single metric

parent dced0e07
......@@ -146,10 +146,11 @@ class ESHybrid(morphemic.handler.ModelHandler,messaging.listener.MorphemicListen
logging.debug("Got metric[%s] predictions %s",(m,predictions))
if predictions.empty:
logging.debug("No prediction available yet for metric[%s]",m)
logging.debug("Got metric[%s] predictions %s",(m,predictions))
for index,row in predictions.iterrows():
t = row['ds']
payload = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment