Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

epsagon/epsagon-python

 
 

Repository files navigation

Epsagon Instrumentation for Python

Build Status Pyversions PypiVersions

This package provides an instrumentation to Python code running on functions for collection of distributed tracing and performance monitoring.

Installation

From your project directory:

$ pip install epsagon

More details about lambda deployments are available in the AWS documentation.

Basic Usage

Simply use our decorator to report metrics:

import epsagon
epsagon.init(
    token='my-secret-token',
    app_name='my-app-name',
    metadata_only=False,  # Optional, send more trace data
)

@epsagon.lambda_wrapper
def handler(event, context):
  pass

Copyright

Provided under the MIT license. See LICENSE for details.

Copyright 2018, Epsagon.