mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-08-25 09:27:36 +00:00
adding set run tag (#1174)
Signed-off-by: Paige Patton <prubenda@redhat.com>
This commit is contained in:
@@ -79,6 +79,7 @@ elastic:
|
||||
metrics_index: "krkn-metrics"
|
||||
alerts_index: "krkn-alerts"
|
||||
telemetry_index: "krkn-telemetry"
|
||||
run_tag: ""
|
||||
|
||||
tunings:
|
||||
wait_duration: 1 # Duration to wait between each chaos scenario
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ ibm_vpc==0.26.3 # Requires ibm_cloud_sdk_core
|
||||
jinja2==3.1.6
|
||||
lxml==5.1.0
|
||||
kubernetes==34.1.0
|
||||
krkn-lib==6.0.3
|
||||
krkn-lib==6.0.5
|
||||
numpy==1.26.4
|
||||
pandas==2.2.0
|
||||
openshift-client==1.0.21
|
||||
|
||||
+2
-1
@@ -103,7 +103,7 @@ def main(options, command: Optional[str]) -> int:
|
||||
)
|
||||
# elastic search
|
||||
enable_elastic = get_yaml_item_value(config["elastic"], "enable_elastic", False)
|
||||
|
||||
elastic_run_tag = get_yaml_item_value(config["elastic"], "run_tag", "")
|
||||
elastic_url = get_yaml_item_value(config["elastic"], "elastic_url", "")
|
||||
|
||||
elastic_verify_certs = get_yaml_item_value(
|
||||
@@ -293,6 +293,7 @@ def main(options, command: Optional[str]) -> int:
|
||||
chaos_output = ChaosRunOutput()
|
||||
chaos_telemetry = ChaosRunTelemetry()
|
||||
chaos_telemetry.run_uuid = run_uuid
|
||||
chaos_telemetry.tag = elastic_run_tag
|
||||
scenario_plugin_factory = ScenarioPluginFactory()
|
||||
classes_and_types: dict[str, list[str]] = {}
|
||||
for loaded in scenario_plugin_factory.loaded_plugins.keys():
|
||||
|
||||
Reference in New Issue
Block a user