Skip to content

Commit

Permalink
adding cluster version to telemetry elastic
Browse files Browse the repository at this point in the history
Signed-off-by: Paige Patton <[email protected]>
  • Loading branch information
paigerube14 authored and chaitanyaenr committed Nov 4, 2024
1 parent 4286ab6 commit 547f29b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/krkn_lib/models/elastic/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class ElasticChaosRunTelemetry(Document):
total_node_count = Integer()
cloud_infrastructure = Text()
cloud_type = Text()
cluster_version = Text()
run_uuid = Text(fields={"keyword": Keyword()})

class Index:
Expand Down Expand Up @@ -192,4 +193,6 @@ def __init__(
self.total_node_count = chaos_run_telemetry.total_node_count
self.cloud_infrastructure = chaos_run_telemetry.cloud_infrastructure
self.cloud_type = chaos_run_telemetry.cloud_type
self.cluster_version = chaos_run_telemetry.cluster_version
self.run_uuid = chaos_run_telemetry.run_uuid

0 comments on commit 547f29b

Please sign in to comment.