Tracing Chalice applications running on Lambda functions can be declared by:

from chalice import Chalice
import epsagon

epsagon.init(
    token=<EPSAGON-TOKEN>,
  app_name=<APP-NAME-STAGE>,
  metadata_only=False
)

app = Chalice(app_name='chalice-app')

# chalice app

app = epsagon.chalice_wrapper(app)

Did this page help you?