Skip to content

Disable metrics if gevent is used#2688

Merged
antonpirker merged 4 commits intoriccardo/feat/default-metric-summary-experimentfrom
ivana/disable-metrics-on-gevent
Jan 30, 2024
Merged

Disable metrics if gevent is used#2688
antonpirker merged 4 commits intoriccardo/feat/default-metric-summary-experimentfrom
ivana/disable-metrics-on-gevent

Conversation

@sentrivana
Copy link
Copy Markdown
Contributor

@sentrivana sentrivana commented Jan 30, 2024

Enabling metrics by default leads to a deadlock when gevent is installed.

For now, we will disable metrics when gevent is used. In the next step, we'll make metrics work with gevent.


General Notes

Thank you for contributing to sentry-python!

Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval. Some tests (AWS Lambda) additionally require a maintainer to add a special label to run and will fail if the label is not present.

For maintainers

Sensitive test suites require maintainer review to ensure that tests do not compromise our secrets. This review must be repeated after any code revisions.

Before running sensitive test suites, please carefully check the PR. Then, apply the Trigger: tests using secrets label. The label will be removed after any code changes to enforce our policy requiring maintainers to review all code revisions before running sensitive tests.

@sentrivana sentrivana changed the base branch from master to riccardo/feat/default-metric-summary-experiment January 30, 2024 11:17
@sentrivana sentrivana marked this pull request as ready for review January 30, 2024 11:25
Copy link
Copy Markdown
Contributor

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@antonpirker antonpirker merged commit 329a647 into riccardo/feat/default-metric-summary-experiment Jan 30, 2024
@antonpirker antonpirker deleted the ivana/disable-metrics-on-gevent branch January 30, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants