Scout-apm

Latest version: v3.2.1

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

Scan your dependencies

Page 7 of 15

2.13.0

Added

- Added config value `shutdown_message_enabled` /
`SCOUT_SHUTDOWN_MESSAGE_ENABLED` which can be set to "false" to disable the
shutdown message "Scout draining N events..."that was added in version
2.11.0.
([Issue 498](https://github.com/scoutapp/scout_apm_python/issues/498))
- Renamed `config_file`, `log_file`, and `socket_path` to have the
`core_agent_` prefix. This is to clarify that they apply only to the core
agent process. The old names continue to work as aliases.
([Issue 497](https://github.com/scoutapp/scout_apm_python/issues/497))
- Improved some log messages and levels around instrumentation.
([Issue 502](https://github.com/scoutapp/scout_apm_python/pull/502))

2.12.0

Added

- Added ability to read configuration from your Celery app. This can help share
configuration between Django and Celery. Pass your application as `app` to
have the configuration copied: `scout_apm.celery.install(app=app)` .
([Issue 477](https://github.com/scoutapp/scout_apm_python/issues/477))
- Added maximum span limit of 1500. This prevents memory exhaustion when
tracing long running tasks as Scout no longer tries to record everything.
([Issue 472](https://github.com/scoutapp/scout_apm_python/issues/472))

Fixed

- Made installation of the objtrace C extension optional, so that if it fails
due to your C compiler being old, Scout can still install.
([Issue 488](https://github.com/scoutapp/scout_apm_python/issues/488))
- Removed warning for setting the `SCOUT_LOG_LEVEL` setting, since this is set
by default by the Heroku add-on.
([Issue 486](https://github.com/scoutapp/scout_apm_python/issues/486]))

2.11.0

Added

- Improve Falcon integration: tracing is automatically disabled if
installation fails, track middleware, and support class-based responders.
([PR 453](https://github.com/scoutapp/scout_apm_python/pull/453),
[PR 460](https://github.com/scoutapp/scout_apm_python/pull/460))
- Add Hug integration.
([PR 460](https://github.com/scoutapp/scout_apm_python/pull/460))
- Limit size of recorded tracebacks to reduce memory usage.
([PR 476](https://github.com/scoutapp/scout_apm_python/pull/476))
- Scout now flushes any queued commands to the core agent at shutdown, with a
configurable timeout `shutdown_timeout_seconds`, defaulting to 2 seconds.
This ensures that all traces are recorded, rather than lost, especially
useful for single-run background commands.
([Issue 473](https://github.com/scoutapp/scout_apm_python/issues/473))
- Move from **requests** to underlying **urllib3** for downloads to reduce
dependency footprint.
([PR 480](https://github.com/scoutapp/scout_apm_python/pull/480))
- Retry downloading the core agent a few times, and use a timeout to prevent
startup hangs.
([PR 480](https://github.com/scoutapp/scout_apm_python/pull/480))

Fixed

- Moved some user-facing warnings, such as for deprecated features, from
`logging` to `warnings`, so they can be caught during testing.
([PR 468](https://github.com/scoutapp/scout_apm_python/pull/468))
- Fix Jinja2 asynchronous rendering instrumentation for Jinja2 2.11.0+.
([PR 462](https://github.com/scoutapp/scout_apm_python/pull/462))
- Stop patching `elasticsearch`'s `scripts_painless_context()`, because it has
been removed in version 7.5.1.
([Issue 454](https://github.com/scoutapp/scout_apm_python/issues/454))
- Fix for `elasticsearch` version 7.5.1's change of positional argument order.
([Issue 456](https://github.com/scoutapp/scout_apm_python/issues/456))

2.10.0

Added

- Use Python 3.8's standard library `importlib.metadata.distributions()` to
determine package versions, rather than `pkg_resources`. The [backport
package
`importlib_metadata`](https://pypi.org/project/importlib-metadata/) is
required on older Python versions.
([PR 430](https://github.com/scoutapp/scout_apm_python/pull/430))
- Add CherryPy integration.
([PR 431](https://github.com/scoutapp/scout_apm_python/pull/431))
- Add tracking for missing PyMongo Collection methods.
([PR 436](https://github.com/scoutapp/scout_apm_python/pull/436))
- Add tracking for missing Elasticsearch client methods.
([PR 438](https://github.com/scoutapp/scout_apm_python/pull/438))

Removed

- Remove the "name" context tag from Flask requests - it only duplicated the
request name.
([PR 432](https://github.com/scoutapp/scout_apm_python/pull/432))

2.9.1

Added

- Update Core Agent to version 1.2.6, fixing several bugs:
- Improve SQL statement names in Timeline Traces
- Standardize on a `language_version` key in metadata
- Autoclose spans that are still running when a Request completes

([PR 415](https://github.com/scoutapp/scout_apm_python/pull/415))

Fixed

- Fix recording of path for unicode query parameters on Python 2.7.
([PR 419](https://github.com/scoutapp/scout_apm_python/pull/419))

2.9.0

Added

- Add RQ integration.
([PR 375](https://github.com/scoutapp/scout_apm_python/pull/375))
- Track 5XX responses as errors from all web frameworks.
([Issue 383](https://github.com/scoutapp/scout_apm_python/issues/383))
- Track Flask's request preprocessors as a span `PreprocessRequest`.
([PR 390](https://github.com/scoutapp/scout_apm_python/pull/390))
- Track Jinja2 asynchronous template rendering.
([PR 398](https://github.com/scoutapp/scout_apm_python/pull/398))
- Add Django-Huey integration.
([PR 401](https://github.com/scoutapp/scout_apm_python/pull/401))

Fixed

- Track better names for Django REST Framework `ViewSet`s.
([PR 380](https://github.com/scoutapp/scout_apm_python/pull/380))
- Always capture SQL tracebacks for `executemany` queries going over the
built-in count threshold.
([PR 409](https://github.com/scoutapp/scout_apm_python/pull/409))
- Don't capture internal traceback function's frame in tracebacks.
([PR 410](https://github.com/scoutapp/scout_apm_python/pull/410))

Page 7 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.