Comments (4)
Ideally, our Celery integration would track these changes and automatically clean up any old environments or monitors for tasks that no longer exist.
This is probably not going to happen since the SDKs do not maintain state.
from sentry-python.
This is probably not going to happen since the SDKs do not maintain state.
I believe @evanpurkhiser is correct here: the SDK would need to have a list of the currently running cron jobs that are being monitored to implement this change, but we don't have such a list as far as I know. My understanding is that we emit checkins (including monitor upserts) as cron jobs are run, without storing any information about them in the SDK
from sentry-python.
This is probably not going to happen since the SDKs do not maintain state.
I believe @evanpurkhiser is correct here: the SDK would need to have a list of the currently running cron jobs that are being monitored to implement this change, but we don't have such a list as far as I know. My understanding is that we emit checkins (including monitor upserts) as cron jobs are run, without storing any information about them in the SDK
Right, I realize this is tricky. Any ideas how we can make this easier? We've had this scenario come up a couple of times, not only from us internally, but from customers as well. Is a UI-based bulk management solution the best way forward?
from sentry-python.
Yes, a solution in the UI is the only way. The SDK does now know about config changes and I also think we should not implement something like this.
from sentry-python.
Related Issues (20)
- Set up POTel patching
- Fix `cache_prefixes` check for multiple keys.
- Instrument Django app with Sentry and OTel and check differences. HOT 6
- Make sure int keys are handled by redis integration HOT 2
- Crons: Celerybeat integration provides invalid Crontab schedule HOT 2
- Add `failed_request_status_codes` for more web frameworks HOT 1
- Sentry sdk in a Django env breaks cache access HOT 3
- [psycopg3] Test that the SDK does not cause an error on DB reconnect
- More configuration via environment variables
- Django ASGI based async views do not create Transactions HOT 1
- Test Celery Beat regression (2.4.0 through 2.5.0 inclusive) HOT 1
- Include OTel in type checks
- POTEL TracerProvider setup
- Deprecate old SpanProcessor and Propagator
- Deprecate and reduce instrumenter usage internally
- Statically initialized StrawberryIntegration leads to runtime exception: There is no current event loop in thread HOT 3
- Remove uses of `Hub` from tests
- Support SSL_CERT_FILE for the default ca_certs location HOT 1
- Failed to initialize SparkIntegration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-python.