forked from infrawatch/sg-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add resource name field to outgoing sg-core metrics
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 such as "cirros:instance-000001". Need for this change was due to such meters being related to the same instance so `display_name` would be same both meters. The `name` field will provide extra information about the actual resource related to the instance like `cirros:tap3a84e3fc-d9` in `network` meter. (cherry picked from commit 1235744)
- Loading branch information
Showing
5 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+24 Bytes
(100%)
plugins/handler/ceilometer-metrics/messages/msgpack-test.msgpack
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters