Epsagon Instrumentation for Python
Project description
# Epsagon Instrumentation for Python
[![Build Status](https://travis-ci.com/epsagon/epsagon-python.svg?token=wsveVqcNtBtmq6jpZfSf&branch=master)](https://travis-ci.com/epsagon/epsagon-python)
[![Pyversions](https://img.shields.io/pypi/pyversions/epsagon.svg?style=flat)](https://pypi.org/project/epsagon/)
[![PypiVersions](https://img.shields.io/pypi/v/epsagon.svg)](https://pypi.org/project/epsagon/)
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](https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html).
## Basic Usage
Simply use our decorator to report metrics:
```python
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.
[![Build Status](https://travis-ci.com/epsagon/epsagon-python.svg?token=wsveVqcNtBtmq6jpZfSf&branch=master)](https://travis-ci.com/epsagon/epsagon-python)
[![Pyversions](https://img.shields.io/pypi/pyversions/epsagon.svg?style=flat)](https://pypi.org/project/epsagon/)
[![PypiVersions](https://img.shields.io/pypi/v/epsagon.svg)](https://pypi.org/project/epsagon/)
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](https://docs.aws.amazon.com/lambda/latest/dg/lambda-python-how-to-create-deployment-package.html).
## Basic Usage
Simply use our decorator to report metrics:
```python
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
epsagon-1.0.4.tar.gz
(20.5 kB
view hashes)
Built Distribution
epsagon-1.0.4-py3-none-any.whl
(34.3 kB
view hashes)