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
- Update
pyproject.toml
- Update
autoscale_agent/__init__.py
- Update
CHANGELOG.md
- Create a new git tag (
v1.2.3
) - 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
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c74535f014354a95b69e23a8be732f169010180aba63fb1f064cb24f913043 |
|
MD5 | 16ec925d155df711151beb2b8fdb907f |
|
BLAKE2b-256 | 03f02bb0e62a4fcb6a96c1b0236d3868f609f0c7c058893c83d57c12b5cf6c67 |
File details
Details for the file autoscale_agent-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: autoscale_agent-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0596e9eba37589f47af40650b43251c598a2b5cdfbbf9be7b70028da848803e2 |
|
MD5 | d2d9c75314f2bc6cdb1ba0ee613cd2a7 |
|
BLAKE2b-256 | d2f2815dfbe45bba6512242bb59454b0dd0541728e00fd309816aa8af764e4e2 |