Added
-
Add an
ignore_logsoption, which takes a list of patterns. Log lines that match any of the patterns are not sent to AppSignal. Set it with theAPPSIGNAL_IGNORE_LOGSenvironment variable, or as an option on theAppsignalclient. Read our ignore logs guide for the patterns that are supported.This option only has an effect in collector mode, because that is the only mode in which this package sends logs.
-
Report host metrics, NGINX metrics, StatsD metrics and environment metadata when using a collector. These are sent by the AppSignal agent, which now runs alongside the collector instead of being replaced by it.
-
Detect the revision that is being deployed from the environment variables set by Heroku, Render, Kamal and Scalingo:
HEROKU_SLUG_COMMIT,RENDER_GIT_COMMIT,KAMAL_VERSIONandCONTAINER_VERSION. Applications deployed on those platforms now report their revision without setting therevisionconfiguration option.This affects collector mode, where deploys were reported as
unknownwhen the revision was not configured.
Changed
- Report
appinstead ofunknownas the OpenTelemetry service name when theservice_nameconfiguration option is not set and collector mode is in use. - On Heroku, report the name of the dyno as the hostname. Before, the hostname of the container that the dyno runs in was reported, so applications running on Heroku will see their data reported under a new host name.
- Update the agent to handle high traffic apps. On high-traffic apps that would exceed the maximum accepted internal payload size, send data to the Push API more frequently.
Fixed
- An option set to
Nonewhen initializing theAppsignalclient no longer replaces a value that AppSignal detected itself. For example,Appsignal(hostname=None)now reports the detected hostname, instead of reporting no hostname at all. Options that AppSignal does not detect are unchanged: settingrequest_headerstoNone, for example, still turns off request header collection. - In collector mode, backtrace lines from your own application are now shown as paths relative to your application's root, and are recognized as your application's code.
- Send the traces, metrics and logs that are still buffered when
stopis called, instead of dropping them. - Apply the
ca_file_pathandhttp_proxyconfiguration options to the data sent to a collector. Before this change both options were only applied to the data sent by the agent, so a custom certificate authority file or a proxy had no effect when a collector was used. - Stop running minutely probes when
stopis called. Before this change they kept running and kept reporting metrics after AppSignal was stopped.
View the Python package v1.7.0 changelog for more information.