Skip to content

Commit

Permalink
restored telemetry collection
Browse files Browse the repository at this point in the history
  • Loading branch information
tsebastiani committed Jan 9, 2024
1 parent 31c94d2 commit d3b8ace
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run_kraken.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,10 +380,10 @@ def main(cfg):
# if platform is openshift will be collected
# Cloud platform and network plugins metadata
# through OCP specific APIs
# if config["kraken"]["distribution"] == "openshift":
# telemetry_ocp.collect_cluster_metadata(chaos_telemetry)
# else:
# telemetry_k8s.collect_cluster_metadata(chaos_telemetry)
if config["kraken"]["distribution"] == "openshift":
telemetry_ocp.collect_cluster_metadata(chaos_telemetry)
else:
telemetry_k8s.collect_cluster_metadata(chaos_telemetry)

decoded_chaos_run_telemetry = ChaosRunTelemetry(json.loads(chaos_telemetry.to_json()))
logging.info(f"Telemetry data:\n{decoded_chaos_run_telemetry.to_json()}")
Expand Down

0 comments on commit d3b8ace

Please sign in to comment.