Fix order of arguments in assertEquals

Part 4

Related to: bug #1277104

Change-Id: I8aea7478afe209096d55ded9966d45a3684248dc
Fix order of arguments in assertEquals

Part 2

Related to: bug #1277104

Change-Id: If2aa8f43d1a9f788e805abe0119f4715a7e14c24
Eventlet monkeypatch must be done before anything

This patch ensure eventlet have patched modules before they are loaded
and used.

Closes-bug: #1288878

Change-Id: Ieb1fc252bde94a19fdba14a87c9f97848208bdc5
Change the sample_type from tuple to string

The Collector can not persistence compute node CPU metrics when set
‘compute_monitors = ComputeDriverCPUMonitor’ in nova.
The root cause of that issue is the counter_type is the 'tuple',
In actually the type of the counter_type should be String,
so it can not persistence to DB success, please refer to the SQL,
the counter_type value is [u'cumulative'] that is a 'tuple'.

Change-Id: I8d1218f813d081e1031c331c59a17c227c9a8958
Closes-Bug: #1295004
Fix the type of the disk IO rate measurements

The type of the following measurements should be Gauge:
disk.write.requests.rate
disk.write.bytes.rate
disk.read.bytes.rate

Closes-bug: #1295088
Change-Id: Ia11f8ca36a02ca2e5f74de275df80faeaa5b7d39
Fixes Hyper-V metrics units

Changes the units of the values returned for the network and disks data to
bytes as expected.

Closes-Bug: #1289015
Change-Id: If4950d05213a345900b3450c83450345e04560fc
Merge "Fix the type of the disk IO rate measurements"
Merge "Change the sample_type from tuple to string"
Merge "Eventlet monkeypatch must be done before anything"
Merge "Fix order of arguments in assertEquals"
Merge "Fix order of arguments in assertEquals"
Merge "Fixes Hyper-V metrics units"