Skip to content

Instantly share code, notes, and snippets.

@GrahamDumpleton
Created September 6, 2012 07:00
Show Gist options
  • Save GrahamDumpleton/3652331 to your computer and use it in GitHub Desktop.
Save GrahamDumpleton/3652331 to your computer and use it in GitHub Desktop.
Agent configuration for Nova instrumentation
# Import hooks for nova.
[import-hook:nova.wsgi]
enabled = true
execute = nova-api-instrumentation:instrument_nova_wsgi
[import-hook:nova.api.openstack.wsgi]
enabled = true
execute = nova-api-instrumentation:instrument_nova_api_openstack_wsgi
# Now auto wrapping any controller when registered against a resource.
#
# [import-hook:nova.api.openstack.views.images]
# enabled = true
# execute = nova-api-instrumentation:instrument_nova_api_openstack_views_images
[import-hook:nova.image.service]
enabled = true
execute = nova-api-instrumentation:instrument_nova_image_service
[import-hook:nova.image.glance]
enabled = true
execute = nova-api-instrumentation:instrument_nova_image_glance
[import-hook:nova.image.s3]
enabled = true
execute = nova-api-instrumentation:instrument_nova_image_s3
[import-hook:nova.image.fake]
enabled = true
execute = nova-api-instrumentation:instrument_nova_image_fake
[import-hook:glance.client]
enabled = true
execute = nova-api-instrumentation:instrument_glance_client
[import-hook:nova.db.sqlalchemy.api]
enabled = true
execute = nova-api-instrumentation:instrument_db_sqlalchemy_api
[import-hook:nova.compute.api]
enabled = true
execute = nova-api-instrumentation:instrument_compute_api
[import-hook:instrument.api.openstack.auth]
enabled = true
execute = novaapiinstrumentation:instrument_api_openstack_auth
# ---------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment