pyams_apm package ⊞

PyAMS_apm package

PyAMS extension package for Elastic APM integration

pyams_apm.includeme(config)[source]

pyams_apm features include

pyams_apm.include

PyAMS_apm.include module

This module is used for Pyramid integration

pyams_apm.include.handle_apm_application(event)[source]

Register custom instrumentations on application startup

pyams_apm.include.include_package(config)[source]

Pyramid package include

pyams_apm.tween

PyAMS_apm.tween module

This module provides a custom tween which is used to integrate the Pyramid application with APM, sending requests frames to the APM server.

class pyams_apm.tween.elastic_apm_tween_factory(handler, registry)[source]

Bases: object

Elasticsearch APM tween factory

pyams_apm.tween.get_data_from_request(request)[source]

Extract main APM data from request properties

pyams_apm.tween.get_data_from_response(response)[source]

Extract APM data from response properties

pyams_apm.tween.list_from_setting(config, setting)[source]

Split configuration setting