Add new paramater "CeilometerEnableTenantDiscovery"

Enabling this parameter will identify user and project
names from the polled metrics [1].

These details are collected by making additional requests
to keystone service, depending upon the scale of environment,
number of projects/users and the count of metrics polled in
every iteration, enabling this could overwhelm the keystone
service.

[1] Iee5dbf09a1fd3ac571746fc66d2683eb8e6a1b27

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

Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com>
Change-Id: Idcc3cd2c9773fd8ee3464a9a085682639a6e5dab
This commit is contained in:
Yadnesh Kulkarni 2022-09-09 16:45:06 +00:00
parent e3a3f7c336
commit 7b57f966cc
2 changed files with 12 additions and 0 deletions

View File

@ -57,6 +57,10 @@ parameters:
description: The password for the ceilometer service account.
type: string
hidden: true
CeilometerEnableTenantDiscovery:
default: false
description: Identify user and project names from polled metrics.
type: boolean
resources:
ContainersCommon:
@ -105,6 +109,7 @@ outputs:
- get_attr: [CeilometerServiceBase, role_data, config_settings]
- ceilometer_redis_password: {get_param: RedisPassword}
tripleo::profile::base::ceilometer::agent::polling::central_namespace: true
ceilometer::agent::polling::tenant_name_discovery: {get_param: CeilometerEnableTenantDiscovery}
service_config_settings:
map_merge:
- get_attr: [CeilometerServiceBase, role_data, service_config_settings]

View File

@ -0,0 +1,7 @@
---
features:
- |
Add new parameter ``CeilometerTenantNameDiscovery``, enabling this
parameter will identify user and project names using the resource UUIDs
for every polled sample. Upon a successful discovery, the identified
names are added to the corresponding sample.