Updating of ES collector for 0.90.x support.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>