Hi, This is my part of my code connection and everything is already set
data_points = []
for pod in wh_namespace_pods:
pod_name = pod.metadata.name
namespace = pod.metadata.namespace
ready = f"{sum([c.ready for c in pod.status.container_statuses])}/{len(pod.spec.containers)}"
status = pod.status.phase
restarts = sum([c.restart_count for c in pod.status.container_statuses])
point = Point.measurement("my_measures")
point.tag("pod_name", pod_name)
point.tag("namespace", namespace)
point.field("ready", ready)
point.field("status", status)
point.field("restarts", restarts)
data_points.append(point)
write_api = client.write_api(write_options=SYNCHRONOUS)
write_api.write(bucket=bucket, org=org, record=data_points)
My code creates separate table for each log-pod , but I would like it to all under 1 table how can I achieve this , please check my image