Skip to content

Bump sentry-sdk[starlette] from 1.40.0 to 1.43.0

Ronan Amicel requested to merge dependabot-pip-sentry-sdk-starlette--1.43.0 into main

Bumps sentry-sdk[starlette] from 1.40.0 to 1.43.0.

Release notes

Sourced from sentry-sdk[starlette]'s releases.

1.43.0

Various fixes & improvements

  • Add optional keep_alive (#2842) by @​sentrivana

    If you're experiencing frequent network issues between the SDK and Sentry, you can try turning on TCP keep-alive:

    import sentry_sdk
    sentry_sdk.init(
    # ...your usual settings...
    keep_alive=True,
    )
  • Add support for Celery Redbeat cron tasks (#2643) by @​kwigley

    The SDK now supports the Redbeat scheduler in addition to the default Celery Beat scheduler for auto instrumenting crons. See the docs for more information about how to set this up.

  • aws_event can be an empty list (#2849) by @​sentrivana

  • Re-export Event in types.py (#2829) by @​szokeasaurusrex

  • Small API docs improvement (#2828) by @​antonpirker

  • Fixed OpenAI tests (#2834) by @​antonpirker

  • Bump checkouts/data-schemas from ed078ed to 8232f17 (#2832) by @​dependabot

1.42.0

Various fixes & improvements

  • New integration: OpenAI integration (#2791) by @​colin-sentry

    We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK.

    Useage:

    This integrations is auto-enabling, so if you have the openai package in your project it will be enabled. Just initialize Sentry before you create your OpenAI client.

    from openai import OpenAI
    import sentry_sdk
    sentry_sdk.init(
    dsn="PUBLIC_DSN",
    enable_tracing=True,
    traces_sample_rate=1.0,
    )
    client = OpenAI()

... (truncated)

Changelog

Sourced from sentry-sdk[starlette]'s changelog.

1.43.0

Various fixes & improvements

  • Add optional keep_alive (#2842) by @​sentrivana

    If you're experiencing frequent network issues between the SDK and Sentry, you can try turning on TCP keep-alive:

    import sentry_sdk
    sentry_sdk.init(
    # ...your usual settings...
    keep_alive=True,
    )
  • Add support for Celery Redbeat cron tasks (#2643) by @​kwigley

    The SDK now supports the Redbeat scheduler in addition to the default Celery Beat scheduler for auto instrumenting crons. See the docs for more information about how to set this up.

  • aws_event can be an empty list (#2849) by @​sentrivana

  • Re-export Event in types.py (#2829) by @​szokeasaurusrex

  • Small API docs improvement (#2828) by @​antonpirker

  • Fixed OpenAI tests (#2834) by @​antonpirker

  • Bump checkouts/data-schemas from ed078ed to 8232f17 (#2832) by @​dependabot

1.42.0

Various fixes & improvements

  • New integration: OpenAI integration (#2791) by @​colin-sentry

    We added an integration for OpenAI to capture errors and also performance data when using the OpenAI Python SDK.

    Useage:

    This integrations is auto-enabling, so if you have the openai package in your project it will be enabled. Just initialize Sentry before you create your OpenAI client.

    from openai import OpenAI
    import sentry_sdk
    sentry_sdk.init(
    dsn="PUBLIC_DSN",

... (truncated)

Commits

Merge request reports