Skip to main content

Provides Autoscale.app with the necessary metrics for autoscaling web and worker processes

Project description

Python Agent (Autoscale.app)

Provides Autoscale.app with the necessary metrics for autoscaling web and worker processes.

Installation

Install the package:

pip install autoscale-agent

Usage

This package may be used as a stand-alone agent, or as middleware that integrates with Django and Flask.

Installation instructions are provided during the autoscaler setup process on Autoscale.app.

Related Packages

The following packages are currently available.

Queues (Worker Metric Functions)

Worker Library Repository
Celery https://github.com/autoscale-app/python-queue-celery
RQ https://github.com/autoscale-app/python-queue-rq

Let us know if your preferred worker library isn't available and we'll see if we can add support.

Development

Prepare environment:

pip install poetry
poetry install

Boot the shell:

poetry shell

See Paver for relevant tasks:

paver --help

Release

  1. Update pyproject.toml
  2. Update autoscale_agent/__init__.py
  3. Update CHANGELOG.md
  4. Create a new git tag (v1.2.3)
  5. Push the new git tag

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/autoscale-app/python-agent

Project details


Download files

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

Source Distribution

autoscale_agent-0.2.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

autoscale_agent-0.2.1-py3-none-any.whl (9.0 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