In some cases it is desired to extend stat metrics with additional tags
based on the selected connection (i.e. "environment"). Statsd does not
support tags, so add this only to influxdb for now.
Fix establishing connection from parameters when passing influx_config.
When exception happens, we need to also generate metric to be able to
see errors (i.e. timeout happening from Ansible)
I know there are no tests for that area so far at all, this will come later.
Change-Id: Ie0862f04eb224345559f9092cd0a9d8ffa43bef3