There is currently no way to separate out statsd settings per cloud.
While you can set a prefix other than 'openstack.api', this applies to
all clouds and groups all the stats together.
While this may be what you want, it may also be not what you want :)
For example in nodepool, we have multiple cloud providers who each
have their own grafana page, so we'd like them all to log themselves
to different stats buckets (i.e. set individual prefixes).
This allows setting a "metrics" field in each individual cloud entry
that overrides the global settings. TBH I don't know if this is
important for InfluxDB as well, but I've implemented it for that too
for consistency.
Test cases are added for the global and merged settings.
I've also updated the documentation page a bit. I've separated it
into subsections for the three types of stats available. I removed
some of the in-depth stuff about logging types which wasn't that clear
(I think we can just present what we support and let people decide).
Change-Id: I9c3342161a257603f3cfd26bd03f6b71ffbfdd0d