Skip to content

HowFast/apm-python

Repository files navigation

HowFast APM agent for Python

PyPI CircleCI uptime Coverage Status PyPI - Python Version PyPI - Downloads

This Python APM (Application Performance Monitoring) agent sends performance data to your HowFast account.

It only supports Flask for now.

Screenshot of HowFast APM

Usage

pip install howfast-apm[flask]

Then, follow the instructions detailed in the package page.

Develop

# Install dependencies, including the one needed to develop
poetry install -v -E flask
# To build a new version
poetry build
poetry publish

Test

# Lint the code
poetry run flake8 howfast_apm

# Running the tests
poetry run pytest

# Running the tests across a matrix of Python versions and Flask versions
pip install tox tox-pyenv
tox

Publish

# Replace "minor" by "patch" or "major" depending how you want to bump the version
poetry version minor
# Commit the changes
git add pyproject.toml && git commit -m "Bump version"
# Build and publish
poetry publish --build