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 details)

Uploaded Source

Built Distribution

autoscale_agent-0.2.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file autoscale_agent-0.2.1.tar.gz.

File metadata

  • Download URL: autoscale_agent-0.2.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for autoscale_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 63c74535f014354a95b69e23a8be732f169010180aba63fb1f064cb24f913043
MD5 16ec925d155df711151beb2b8fdb907f
BLAKE2b-256 03f02bb0e62a4fcb6a96c1b0236d3868f609f0c7c058893c83d57c12b5cf6c67

See more details on using hashes here.

File details

Details for the file autoscale_agent-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for autoscale_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0596e9eba37589f47af40650b43251c598a2b5cdfbbf9be7b70028da848803e2
MD5 d2d9c75314f2bc6cdb1ba0ee613cd2a7
BLAKE2b-256 d2f2815dfbe45bba6512242bb59454b0dd0541728e00fd309816aa8af764e4e2

See more details on using hashes here.

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