-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate sessions #2200
Comments
I believe this refers to release health sessions. |
Meeting scheduled for next week to understand this. |
Sessions are configured here: self-hosted/docker-compose.yml Line 267 in 5c77236
|
Why is the It generates outcomes for transactions that are sampled away and only metrics were stored. |
Seeing stuff in ClickHouse and Postgres related to metrics 😮. Using this script to test: |
Does it mean users can remove the mentioned containers before they are actually removed ? |
You should be fine to remove that container from your docker compose file if it's causing you problems. |
Problem
There's a thing called "sessions" and it's been deprecated in SaaS/ST. We need to deprecate it in SH as well.
https://www.notion.so/04282577b3fd4640b99a2e1e4549e00c 🔒
So what's going on (more or less) is that we've retired a Clickhouse table called
sessions
in favor of one calledmetrics
. The old table was for Release Health (although it may also have been used for a couple mobile-related numbers):Release Health in recent versions of Sentry is configurable to use either table. However, any bugfixes to Release Health will be done in
metrics
and not backported tosessions
. Since Release Health is not actively being developed right now there's not urgent pressure to get this migration done for self-hosted users, but if/when future work happens on it we'll be out of time.What needs to be done?
In order to provide as much of a smooth transition as possible for self-hosted users, we'll need to dual write to the
metrics
andsessions
tables in Clickhouse for 90 days (max retention for snuba). We're going to have so many docker containers... 😓Metrics table is already in self-hosted, but is unused. The dataset readiness state is
Complete
in snuba.Stage 1: Dual Write
ingest-metrics
andingest-generic-metrics
andbilling-metrics-consumer
(apparently dynamic sampling will fail if this isn't added)ingest-metrics
andingest-performance-metrics
metrics-subscription-results
andgeneric-metrics-subscription-results
metrics-consumer
,generic-metrics-distributions-consumer
,generic-metrics-sets-consumer
,generic-metrics-counters-consumer
, andsubscriptions-scheduler-executor-metrics
.organizations:transaction-metrics-extraction
organizations:metrics-extraction
organizations:dashboards-rh-widget
organizations:mep-rollout-flag
organizations:dashboards-mep
All of this is now done here: #2355
We need to warn users in the release these new docker containers in about upcoming changes to use metrics infrastructure after 90 days of ingesting events.
Stage 2: Cutover
3-6 months after self-hosted releases are dual writing
snuba-sessions-consumer
,snuba-subscription-consumer-sessions
)The text was updated successfully, but these errors were encountered: