Skip to content

Conversation

@andrewslotin
Copy link

This PR adds instrumentation for apps written with Pyramid framework. Please note, that it does not support auto-instrumentation yet and requires manual activation by including the following line into the configuration section of your app (the main function):

with Configurator(settings=settings) as config:
    # ...
    config.include('instana.instrumentation.pyramid.tweens')
    # ...

In case you have the pyramid.tweens option set in your production.ini config, make sure that instana.instrumentation.pyramid.tweens.InstanaTweenFactory is the first entry in this list:

pyramid.tweens = 
    instana.instrumentation.pyramid.tweens.InstanaTweenFactory
    # other tweens

@andrewslotin andrewslotin requested a review from pglombardo May 18, 2020 19:35
@pglombardo pglombardo merged commit 9461255 into master May 26, 2020
@pglombardo pglombardo deleted the instrument_pyramid branch May 26, 2020 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants