def missing_service_tags(): for uid in uids: for s_name in service_names: if has_dim_tag( agent.fake_services, dim_name="kubernetes_pod_uid", dim_value=uid, tag_value=f"kubernetes_service_{s_name}", ): return False return True
def has_all_service_tags(): for uid in uids: for s_name in service_names: if not has_dim_tag( backend, dim_name="kubernetes_pod_uid", dim_value=uid, tag_value=f"kubernetes_service_{s_name}", ): return False return True