Skip to content

Tags: appsignal/appsignal-python

Tags

v1.5.2

Toggle v1.5.2's commit message

## Changed

- Remove redundant cron check-in pairs. When more than one pair of start and finish cron check-in events is reported for the same identifier in the same period, only one of them will be reported to AppSignal.

v1.5.1

Toggle v1.5.1's commit message

## Changed

- Improve SQL sanitisation for functions and numbered placeholders.

v1.5.0

Toggle v1.5.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.

## Changed

- Update span recognition following the OpenTelemetry Semantic Conventions 1.30 database specification. We now also sanitize SQL queries in the `db.query.text` attribute and Redis queries in the `db.operation.name` attribute.
- Update bundled trusted root certificates

## Removed

- Remove the OpenTelemetry beta feature in favor of the new [AppSignal collector](https://docs.appsignal.com/collector). If you are using the AppSignal agent to send OpenTelemetry data in our public beta through the `/enriched` endpoint on the agent's HTTP server, please migrate to the collector to continue using the beta. The collector has a much better implementation of this feature for the beta.

## Fixed

- Fix an issue where calling `appsignal.stop()` after sending check-in events would leave a dangling thread, stopping the application from shutting down correctly.

v1.4.1

Toggle v1.4.1's commit message

## Added

- Set the app revision config option for Scalingo deploys automatically. If the `CONTAINER_VERSION` system environment variable is present, it will use used to set the `revision` config option automatically. Overwrite it's value by configuring the `revision` config option for your application.

## Fixed

- Fix a performance issue when sanitising `INSERT INTO ... VALUES` queries.

v1.4.0

Toggle v1.4.0's commit message

## Added

- Add support for heartbeat check-ins.

  Use the `appsignal.check_in.heartbeat` function to send a single heartbeat check-in event from your application. This can be used, for example, in your application's main loop:

  ```python
  from appsignal.check_in import heartbeat

  while True:
    heartbeat("job_processor")
    process_job()
  ```

  Heartbeats are deduplicated and sent asynchronously, without blocking the current thread. Regardless of how often the `.heartbeat` function is called, at most one heartbeat with the same identifier will be sent every ten seconds.

  Pass `continuous=True` as the second argument to send heartbeats continuously during the entire lifetime of the current process. This can be used, for example, after your application has finished its boot process:

  ```python
  def main():
    start_app()
    heartbeat("my_app", continuous=True)
  ```

## Changed

- Change the primary download mirror for integrations.
- Send check-ins concurrently. When calling `appsignal.check_in.cron`, instead of blocking the current thread while the check-in events are sent, schedule them to be sent in a separate thread.

v1.3.10

Toggle v1.3.10's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.

## Changed

- Simplify the implementation of `set_gauge` in favor of the newer OpenTelemetry's sync implementation.

v1.3.9

Toggle v1.3.9's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.

## Added

- Add helper to manually stop the agent process for this AppSignal instance.
  
  Some contexts, like serverless functions, exit before AppSignal can ensure all data is sent to our servers. To ensure the data is sent, the new `appsignal.stop()` method can be called to gracefully stop the AppSignal agent process.

v1.3.8

Toggle v1.3.8's commit message

## Changed

- Rename heartbeats to cron check-ins. Calls to `appsignal.heartbeat` and `appsignal.Heartbeat` should be replaced with calls to `appsignal.check_in.cron` and `appsignal.check_in.Cron`, for example:

  ```python
  # Before
  from appsignal import heartbeat

  def do_something():
    pass

  heartbeat("do_something", do_something)

  # After
  from appsignal.check_in import cron

  def do_something():
    pass

  cron("do_something", do_something)
  ```

## Deprecated

- Calls to `appsignal.heartbeat` and to the `appsignal.Heartbeat` constructor will emit a deprecation warning.

v1.3.7

Toggle v1.3.7's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.

## Added

- Add support for Pika
- AMQP messaging processing with Pika tracing data is now supported.

v1.3.6

Toggle v1.3.6's commit message

Verified

This commit was signed with the committer’s verified signature.
unflxw Noemi
Publish package v1.3.6

Update version number and CHANGELOG.md.