From 2ea516e19bb5fcabec37e8bbebaaef3ca7a68dfb Mon Sep 17 00:00:00 2001 From: Yadnesh Kulkarni Date: Thu, 2 Mar 2023 12:55:03 +0530 Subject: [PATCH] Add vanity names to telemetry polling notifications This change adds "project_name" and "user_name" fields to polling samples which is related to the identification of vanity names change 79454d6b22787627ae6239aa7b2707101ba30212 Depends-On: https://review.opendev.org/c/openstack/ceilometer/+/880506 Change-Id: I5fbe97439e7fadbdd8fd2641c49f1c88fbc416fc (cherry picked from commit 2a5f63da95a26dae46707a2a22e593604726aeae) --- ceilometer/telemetry/notifications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceilometer/telemetry/notifications.py b/ceilometer/telemetry/notifications.py index 195e00f84e..cd739a4761 100644 --- a/ceilometer/telemetry/notifications.py +++ b/ceilometer/telemetry/notifications.py @@ -31,7 +31,9 @@ class TelemetryIpc(endpoint.SampleEndpoint): unit=sample_dict['counter_unit'], volume=sample_dict['counter_volume'], user_id=sample_dict['user_id'], + user_name=sample_dict['user_name'], project_id=sample_dict['project_id'], + project_name=sample_dict['project_name'], resource_id=sample_dict['resource_id'], timestamp=sample_dict['timestamp'], resource_metadata=sample_dict['resource_metadata'],