From 2a5f63da95a26dae46707a2a22e593604726aeae Mon Sep 17 00:00:00 2001 From: Yadnesh Kulkarni Date: Thu, 2 Mar 2023 12:55:03 +0530 Subject: 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 Change-Id: I5fbe97439e7fadbdd8fd2641c49f1c88fbc416fc --- ceilometer/telemetry/notifications.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ceilometer/telemetry/notifications.py b/ceilometer/telemetry/notifications.py index 195e00f8..cd739a47 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'], -- cgit v1.2.1