Closed KeonHee closed 6 years ago
this breaks the kibana query for the component
field. with this change it is now set to None instead of alarmsTrigger.
Please see the expected format comment: https://github.com/apache/incubator-openwhisk-package-alarms/blob/7923ba53764524967a8000b9fb7cf7e527b23490/provider/Logger.js#L41
I would recommend you put this information in the message if you need it. I personally name my container name in a way that gives me the worker and host.
@jasonpet Thank you for your review.
I think it is good to include workers and hosts in the logs explicitly because they are very important concepts. What do you think?
yeah, I definitely agree that they are important for anyone using the HA support for alarms
We transmit logs to external platform and from there we check logs, but there is no host&worker information in the logs.
If the log contains host information, it is possible to detect duplicate active hosts with logs.
So I changed the log format.