- This change refactor base sender to accept
the config option in its constructor.
- The use of singleton config in the sender classes
has been replaced with the use of self._config
- This change updates the unit tests to reflect
the new constructor paramaters.
Change-Id: I8458145044d76b61e51462674c8fbfc84fd02b0a
Related-bug: #1746097
Added a DEFAULT_ARCHIVE_POLICY option to Gnocchi plugin,
The user can now configure the archive policy that the metrics
should use.
Change-Id: I445c4bc98b6431a39cf805a00b6237d8090a0b98
Archive policy rules are created by the operator, and assign
archive policies to metrics at creation based on certain rules,
if there isn't an archive policy explicitly assigned to the
metric already.
This patch removes the explicit archive policy parameter when
creating the metrics, this means that the archive policy rules
defined by the oparator are respected.
Change-Id: I562f62e1236c7c01c79a5e465ebec103c7bb07bd
- Rename libvirt to virt in units.py
- Add new metrics for virt/perf
- this requires three parameters to map correctly
- Updated unit() to use an optional pltype_instance parameter
- Add unit test to test behaviour with different numbers of parameters
Change-Id: I94437aab309fa6c4d70e52e93d8858b54dcfeedb
Co-Authored-By: Mark O'Neill <mark1.oneill@intel.com>
Closes-Bug: #1714996