Skip to main content

Lumigo wrapper to trace distributed architecture

Project description

# lumigo-python-wrapper :stars:

![CircleCI](https://circleci.com/gh/lumigo-io/lumigo-python-wrapper/tree/master.svg?style=svg&circle-token=d98d1b95f34b49be2caa58c49d8a70d6a7587b88) ![Version](https://badge.fury.io/py/lumigo-python-wrapper.svg) ![codecov](https://codecov.io/gh/lumigo-io/lumigo-python-wrapper/branch/master/graph/badge.svg?token=d8CvqyKTnq)

This is [lumigo-python-wrapper](https://), Lumigo’s Python tracer for distributed tracing and performance monitoring.

Supported Python Runtimes: 3.6, 3.7, 3.8

# Usage

# Manually

## Configuration @lumigo/lumigo_python_wrapper offers several different configuration options. Pass modify the environment variables:

  • LUMIGO_DEBUG=TRUE - Enables debug logging

  • LUMIGO_SECRET_MASKING_REGEX=[“regex1”, “regex2”] - Prevents Lumigo from sending keys that match the supplied regular expressions. All regular expressions are case-insensitive. By default, Lumigo applies the following regular expressions: [“.*pass.*”, “.*key.*”, “.*secret.*”, “.*credential.*”, “.*passphrase.*”].

# Contributing

Contributions to this project are welcome from all! Below are a couple pointers on how to prepare your machine, as well as some information on testing.

## Preparing your machine Getting your machine ready to develop against the package is a straightforward process:

1. Clone this repository, and open a CLI in the cloned directory 1. Create a virtual environment for the project virtualenv venv -p python3 1. Activate the virtualenv: . venv/bin/activate 1. Install dependencies: pip install -r requirements.txt 1. Navigate to the source directory: cd src and 1. Run the setup script: python setup.py develop. 1. Run pre-commit install in your repository to install pre-commit hooks

Note: If you are using pycharm, ensure that you set it to use the virtualenv virtual environment manager. This is available in the menu under PyCharm -> Preferences -> Project -> Interpreter

## Running the test suite We’ve provided an easy way to run the unit test suite: * Run ./scripts/checks.sh in the root folder.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lumigo_python_wrapper-0.3.14-py3-none-any.whl (16.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page