Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1959796

Summary: [RFE] Make ceilometer metrics format human-friendly
Product: Red Hat OpenStack Reporter: Priscila <pveiga>
Component: openstack-ceilometerAssignee: Yadnesh Kulkarni <ykulkarn>
Status: CLOSED MIGRATED QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact: mgeary <mgeary>
Priority: low    
Version: 13.0 (Queens)CC: apevec, augol, csibbitt, dhruv, eduen, jlema, lmadsen, mmagr, mrunge
Target Milestone: ---Keywords: FutureFeature, Reopened, Triaged, UserExperience
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 2187255 (view as bug list) Environment:
Last Closed: 2024-02-02 15:33:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2187255    

Description Priscila 2021-05-12 11:47:26 UTC
The customer environment has VNFs with different SLAs. For instance, vEPC VNFs alarms should be dealt by within 15 minutes, and other VNFs, like speedTest, have not this constraints.
Today, when an alarm is received, the customer cannot identify from which VNF this alarm is coming, so it has to login to the system to check which VNF corresponds to the ID alarming. If the name of the VNF were part of the alarm, the customer would be able to take decisions based purely on alarm, as expected from a central point of view (STF).

Would be of great value to have resource/project names in the virtual layer metrics (ceilometer and collectd both).

Comment 1 Leif Madsen 2021-05-12 15:08:33 UTC
Can you provide an example of the alarm configuration that you're using, along with the output of what you're seeing. If I look at the raw ceilometer metric itself, I see both a resource and project label.

Comment 6 Matthias Runge 2021-05-17 12:29:23 UTC
ceilometer reports the project and resource in metrics. From my (upstream) perspective, it doesn't make sense to add the names as well, especially since the names are not unique.

The output (in STF) is already: 

ceilometer_cpu{container="sg-core", counter="cpu", cpu="864c6990-9823-44fc-a29f-60f4022ff845", endpoint="prom-http", host="f163e5566c31a57dd2b50bc15bef1491ac9248b5ef796d9947bd0a90", project="2a195da23e9b4fa5aefe06a2210dfdbd", publisher="telemetry.publisher.controller-0.redhat.local", resource="864c6990-9823-44fc-a29f-60f4022ff845", service="default-cloud1-ceil-meter-smartgateway", type="cpu", unit="ns"}

Comment 24 Leif Madsen 2022-05-26 16:16:12 UTC
@mrunge I see you linked a review on this, but otherwise has been sitting in ASSIGNED for quite a while. What is the status on this issue, and is that review intended to support this functionality?

Comment 33 Matthias Runge 2024-01-05 10:14:07 UTC
closing this in favor of https://issues.redhat.com/browse/OSP-3841