-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge new glance metrics into master (#17492)
* [PLINT-366] Adding glance image up and size metrics (#17454) * adding metric openstack.glance.image.up Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding metric openstack.glance.image.bytes Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding image id as a tag Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * lint Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * removing openstack.glance.image.bytes Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding openstack.glance.image.size Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * removing redundant disable glance metrics test Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * implementing suggestions Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * addressing more comments Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> --------- Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * [PLINT-374] Adding glance image task metrics (#17477) * adding metric openstack.glance.image.up Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding metric openstack.glance.image.bytes Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding image id as a tag Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * lint Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * removing openstack.glance.image.bytes Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding openstack.glance.image.size Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding openstack.glance.image.task.count Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding another image to test Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * adding a test where tasks is specifically disabled Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * fixing metadata.csv description Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> --------- Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * [PLINT-376] Adding glance image member metrics (#17487) * adding metric openstack.glance.image.member.count Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * testing member metrics Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> --------- Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * added a changelog Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> * fixed changelog number Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com> --------- Signed-off-by: rahulkaukuntla <rahul.kaukuntla@datadoghq.com>
- Loading branch information
1 parent
e3f334d
commit b493c8f
Showing
17 changed files
with
535 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Adding new glance image metrics |
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
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
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
21 changes: 21 additions & 0 deletions
21
...s/fixtures/GET/image/v2/images/28c293db-48c5-4c8b-a711-09b2c11fa8e5/members/response.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"members": [ | ||
{ | ||
"created_at": "2013-10-07T17:58:03Z", | ||
"image_id": "28c293db-48c5-4c8b-a711-09b2c11fa8e5", | ||
"member_id": "123456789", | ||
"schema": "/v2/schemas/member", | ||
"status": "pending", | ||
"updated_at": "2013-10-07T17:58:03Z" | ||
}, | ||
{ | ||
"created_at": "2013-10-07T17:58:55Z", | ||
"image_id": "28c293db-48c5-4c8b-a711-09b2c11fa8e5", | ||
"member_id": "987654321", | ||
"schema": "/v2/schemas/member", | ||
"status": "accepted", | ||
"updated_at": "2013-10-08T12:08:55Z" | ||
} | ||
], | ||
"schema": "/v2/schemas/members" | ||
} |
70 changes: 70 additions & 0 deletions
70
...sts/fixtures/GET/image/v2/images/28c293db-48c5-4c8b-a711-09b2c11fa8e5/tasks/response.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"id": "ee22890e-8948-4ea6-9668-831f973c84f5", | ||
"image_id": "28c293db-48c5-4c8b-a711-09b2c11fa8e5", | ||
"request-id": "rrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr", | ||
"user": "uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu", | ||
"type": "api_image_import", | ||
"status": "processing", | ||
"owner": "64f0efc9955145aeb06f297a8a6fe402", | ||
"expires_at": null, | ||
"created_at": "2020-12-18T05:20:38.000000", | ||
"updated_at": "2020-12-18T05:25:39.000000", | ||
"deleted_at": null, | ||
"deleted": false, | ||
"input": { | ||
"image_id": "829c729b-ebc4-4cc7-a164-6f43f1149b17", | ||
"import_req": { | ||
"method": { | ||
"name": "copy-image" | ||
}, | ||
"all_stores": true, | ||
"all_stores_must_succeed": false | ||
}, | ||
"backend": [ | ||
"fast", | ||
"cheap", | ||
"slow", | ||
"reliable", | ||
"common" | ||
] | ||
}, | ||
"result": null, | ||
"message": "Copied 15 MiB" | ||
}, | ||
{ | ||
"id": "de22890e-8948-4ea6-9668-831f973c84f5", | ||
"image_id": "38c293db-48c5-4c8b-a711-09b2c11fa8e5", | ||
"request-id": "rrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr", | ||
"user": "uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu", | ||
"type": "api_image_import", | ||
"status": "processing", | ||
"owner": "64f0efc9955145aeb06f297a8a6fe402", | ||
"expires_at": null, | ||
"created_at": "2020-12-18T05:20:38.000000", | ||
"updated_at": "2020-12-18T05:25:39.000000", | ||
"deleted_at": null, | ||
"deleted": false, | ||
"input": { | ||
"image_id": "829c729b-ebc4-4cc7-a164-6f43f1149b17", | ||
"import_req": { | ||
"method": { | ||
"name": "copy-image" | ||
}, | ||
"all_stores": true, | ||
"all_stores_must_succeed": false | ||
}, | ||
"backend": [ | ||
"fast", | ||
"cheap", | ||
"slow", | ||
"reliable", | ||
"common" | ||
] | ||
}, | ||
"result": null, | ||
"message": "Copied 15 MiB" | ||
} | ||
] | ||
} |
22 changes: 11 additions & 11 deletions
22
...res/GET/image/v2/images/limit=1/marker=28c293db-48c5-4c8b-a711-09b2c11fa8e5/response.json
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
22 changes: 13 additions & 9 deletions
22
openstack_controller/tests/fixtures/GET/image/v2/images/limit=1/response.json
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
Oops, something went wrong.