Django-statsd-prom-exporter

Latest version: v1.0.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

Added
- Support for multiple StatsD exporters
- `distribution` and `gauge` method in `StatsdLogger`
Changed
- Expected configuration for StatsD in Django settings
- Moved custom exception `DjangoStatsdConfigurationMissingException` to a separate module
- Replaced all static methods in `StatsdLogger` with instance methods to support multiple exporters

Breaking Changes
- Expected configuration for StatsD exporter has been changed to support multiple exporters. So config varaibles in Django settings:`STATSD_HOST`, `STATSD_PORT`, `STATSD_SERVICE_NAME`, `STATSD_PREFIX` are now deprecated. The new configuration is expected to be present in `STATSD_EXPORTERS`. For the latest configuration guide check [README.md](README.md) or the doc-string in [django_statsd.client](django_statsd/client.py) module.
- All the static methods in `StatsdLogger` have been replaced with instance methods which means it cannot be used unless instantiated.
- Custom exception `DjangoStatsdConfigurationMissingException` has been moved to a separate module [django_statsd.exception](django_statsd/exception.py) and so any existing imports will need to be updated accordingly.

0.3.0

Added
- Ability to ignore metrics from whitelisted IPs

0.2.0

Fixed
- Fixed ModuleNotFound exception raised in django < 2 due to resolve & Resolve404
- Fixed bumptoversion update

0.1.0

Added
- Add datadog statsd client
- Add count and latency middleware
- Add logger

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.