Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.1
Choose a base ref
...
head repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.2.0
Choose a head ref
  • 16 commits
  • 29 files changed
  • 8 contributors

Commits on May 6, 2024

  1. Merge branch 'release/2.1.1'

    getsentry-bot committed May 6, 2024
    Configuration menu
    Copy the full SHA
    b24c1e4 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    6148f07 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Auto-enable Anthropic integration + gate imports (#3054)

    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    colin-sentry and antonpirker authored May 10, 2024
    Configuration menu
    Copy the full SHA
    2cdc635 View commit details
    Browse the repository at this point in the history
  2. ref(scope): Fix get_client typing (#3063)

    The `Scope.get_client` method is typed as returning `sentry_sdk.client.BaseClient`, but because `sentry_sdk.client` was not imported, the type was resolved as `Any`. This change imports `sentry_sdk.client` to fix the type hints.
    szokeasaurusrex authored May 10, 2024
    Configuration menu
    Copy the full SHA
    1a32183 View commit details
    Browse the repository at this point in the history
  3. feat(ai-monitoring): Cohere integration (#3055)

    * Cohere integration
    
    * Fix lint
    
    * Fix bug with model ID not being pulled
    
    * Exclude known models from langchain
    
    * tox.ini
    
    * Removed print statement
    
    * Apply suggestions from code review
    
    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    
    ---------
    
    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    colin-sentry and antonpirker authored May 10, 2024
    Configuration menu
    Copy the full SHA
    40746ef View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. ref(metrics): Improve type hints for set metrics (#3048)

    Remove MetricValue from the set metric's value type hint. MetricValue is a union that includes floatwhich is correct based on how other parts of the code uses MetricValue. However, as floats are intentionally floored for set metrics, the current type hint might be confusing for a user as it looks like floats would work as unique values in a set.
    
    Fixes GH-3038
    elramen authored May 14, 2024
    Configuration menu
    Copy the full SHA
    cc11c0f View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. feat(celery): Send queue name to Sentry

    Send the queue name to Sentry for Celery tasks using the default exchange. The queue name is sent as span data with the key `messaging.destination.name` within a new span op named "queue.process".
    
    Also, add tests for the new behavior.
    
    Ref GH-2961
    szokeasaurusrex committed May 15, 2024
    Configuration menu
    Copy the full SHA
    72ac630 View commit details
    Browse the repository at this point in the history
  2. feat: Send Celery retry count

    Send the retry count of a Celery task as a span data attribute on the "queue.process" span. Also, add tests for this feature.
    
    Ref #2961
    szokeasaurusrex committed May 15, 2024
    Configuration menu
    Copy the full SHA
    ff10b77 View commit details
    Browse the repository at this point in the history
  3. feat(celery): Set task ID on span

    Set Celery task ID on the "queue.process" span, and add tests for this new behavior.
    
    Closes #2974
    szokeasaurusrex committed May 15, 2024
    Configuration menu
    Copy the full SHA
    68332d8 View commit details
    Browse the repository at this point in the history
  4. feat(celery): Set "messaging.system" on span

    Set the "messaging.system" data on the "queue.process" span in the Celery integration. The messaging.system span data attribute should be set to the Celery broker being used, e.g. "amqp" for RabbitMQ, "redis" for Redis, and "sqs" for Amazon SQS. Also, add tests for this feature.
    
    ref #2951
    szokeasaurusrex committed May 15, 2024
    Configuration menu
    Copy the full SHA
    a02eb9c View commit details
    Browse the repository at this point in the history
  5. fix(tracing): Only propagate headers from spans within transactions

    This change ensures that we only propagate trace headers from spans that are within a transaction. This fixes a bug where any child transactions of a span created outside a transaction are missing a dynamic sampling context and are part of a trace missing a root transaction (because the root is the span).
    
    Also, remove/modify tests that were asserting the old behavior.
    
    Fixes #3068
    szokeasaurusrex committed May 15, 2024
    Configuration menu
    Copy the full SHA
    94a6c2a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92a3698 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0d7a6f7 View commit details
    Browse the repository at this point in the history
  8. Add tags + data passing functionality to @ai_track (#3071)

    Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
    colin-sentry and antonpirker authored May 15, 2024
    Configuration menu
    Copy the full SHA
    06efff3 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. release: 2.2.0

    getsentry-bot committed May 16, 2024
    Configuration menu
    Copy the full SHA
    573d321 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1475b34 View commit details
    Browse the repository at this point in the history
Loading