-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new fields to sg-core metric messages #111
Conversation
eb1251f
to
4c79806
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
d8e3c96
to
bf1d57b
Compare
ddf84f6
to
1235744
Compare
With changes [1] Ceilometer is now able to include "project_name" and "user_name" fields into it's metrics. These fields are only added when ceilometer has `tenant_name_discovery` config enabled. This change amends these fields to the outgoing metric messages. Fixes: infrawatch#110 [1] https://review.opendev.org/q/topic:enhanced_metrics-stable/wallaby
Few Ceilometer meters like `cpu` & `network` have 2 name fields in their metrics, `name` and `display_name`. Use delimiter ":" to merge the values of both fields. The `name` field provides extra information about the actual resource related to the instance like `cirros:tap3a84e3fc-d9` in `network` meter and `cirros:instance-00000001` in `cpu` meter.
1235744
to
debce0a
Compare
With these 2 commits, fields Here are a few metrics from prometheus
|
Just FYI I don't believe the CI failure here has anything to do with the patch. I know Jaromir is looking into this, so hopefully we can get this merged sometime next week. |
Updated branch with latest CI refactoring in the hopes we can get this merged. |
With changes [1] Ceilometer is now able to include "project_name" and "user_name" fields into it's metrics. These fields are only added when ceilometer has
tenant_name_discovery
config enabled.This change amends these fields to the outgoing metric messages.
Fixes: #110
[1] https://review.opendev.org/q/topic:enhanced_metrics-stable/wallaby