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 79454d6b22

Depends-On: https://review.opendev.org/c/openstack/ceilometer/+/877647

Change-Id: I5fbe97439e7fadbdd8fd2641c49f1c88fbc416fc
(cherry picked from commit 2a5f63da95)
This commit is contained in:
Yadnesh Kulkarni
2023-03-02 12:55:03 +05:30
parent 9f6481163c
commit 3517aceafc

View File

@@ -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'],