Allow to use environment variable to override some metric values
Change-Id: Ifd1d04ce813028f115c19bc983e7dd1e63c6f8a5
diff --git a/telemetry_tempest_plugin/config.py b/telemetry_tempest_plugin/config.py
index d5d9245..7ca6e6f 100644
--- a/telemetry_tempest_plugin/config.py
+++ b/telemetry_tempest_plugin/config.py
@@ -60,8 +60,16 @@
cfg.IntOpt('alarm_granularity',
default=300,
help="Granularity to use for aodh alarms. This must match the "
- "configured Gnocchi archive policy")
-
+ "configured Gnocchi archive policy"),
+ cfg.StrOpt('alarm_metric_name',
+ default="cpu_util",
+ help="Name of the metric to create an alarm on."),
+ cfg.StrOpt('alarm_aggregation_method',
+ default="mean",
+ help="Aggregation method to use for alarm."),
+ cfg.IntOpt('alarm_threshold',
+ default=10,
+ help="Threshold to cross for the alarm to trigger."),
]
event_opts = [