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
[ | |
{ | |
"id": "896f5e52-d4c9-11e3-a117-46c0b36ac153", | |
"metadata": { | |
"base_id": "f5587500-07d1-41a0-b434-525d3c28ac49", | |
"event_type": "profiler.nova", | |
"host": "osapi_compute.0.0.0.0", | |
"name": "WSGI-stop", | |
"parent_id": "82281b35-63aa-45fc-8578-5a32a66370ab", | |
"trace_id": "837eb0bd-323a-4e3f-b223-3be78ad86aab" |
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
{ | |
"info": { | |
"started": 0, | |
"finished": 14029, | |
"name": "total" | |
}, | |
"children": [{ | |
"info": { | |
"name": "WSGI", | |
"service": "nova", |
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
class PersistanceContextManager(object): | |
def create(): | |
# prepare list_of_ctx | |
# self._create(list) | |
created_ctxt = [] | |
try: | |
for ctx in list_of_ctx: | |
created_ctxt.append(ctx) |
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
from keystoneclient.v2_0 import client as keystone | |
from ceilometerclient import client as ceilometer | |
#CREDENTIALS | |
auth_url = "http://172.16.52.152:5000/v2.0" | |
username = "admin" | |
tenant_name = "admin" | |
password = "admin" | |
#GET CEILOMETER CLIENT |
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
{ | |
"<TestName1>": [ | |
{"context": {}, "args": {}, "runner": {}}, | |
{"context": {}, "args": {}, "runner": {}}, | |
{"context": {}, "args": {}, "runner": {}} | |
], | |
"<TestName2>": [ | |
{"context": {}, "args": {}, "runner": {}}, | |
{"context": {}, "args": {}, "runner": {}} |
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
from osprofiler import profiler | |
from osprofiler.parsers import ceilometer as ceilo_parser | |
from keystoneclient.v2_0 import client as keystone | |
from ceilometerclient import client as ceilometer | |
#CREDENTIALS | |
auth_url = "http://172.16.52.152:5000/v2.0" | |
username = "admin" |
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
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-anotification,ceilometer-collector | |
ENABLED_SERVICES+=,ceilometer-alarm-evaluator,ceilometer-alarm-notifier | |
ENABLED_SERVICES+=,ceilometer-api | |
CEILOMETER_NOTIFICATION_TOPICS="notifications,profiler" |
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 should be in context/vm/base.py | |
class VMBenchmarkImagePrepare(base.Context): | |
def _prepare(self): | |
pass | |
def setup(self): | |
# run VM with image | |
# wait unit it starts | |
self._prepare() |
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
# Some useful tips with gerrit: | |
# Work on your changes always in specific branch: | |
$ git checkout master | |
$ git checkout -b your_branch | |
# Rebasing your patches: | |
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
Models In DB: | |
class TaskResultChunk (M iterations per chunk) | |
task_uuid | |
data = Text() | |
OlderNewer