self-hosted
self-hosted copied to clipboard
Clicking into an Event from the Insights page leads to a 404
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
Navigating from one of the Insights pages (Backend for example) and then clicking into a Transaction, and from there clicking the Event ID leads to a Page Not Found error screen.
Click on an ID from Event ID column.
Expected Result
Should probably go to the event page.
Actual Result
Does not go to the event page.
Product Area
Insights
Link
No response
DSN
No response
Version
25.5.1
Assigning to @getsentry/support for routing ⏲️
- What is your self-hosted version?
- Can you make sure you have all the feature flags defined here being set on your
sentry.conf.pyfile? Then try doing./install.shanother go. https://github.com/getsentry/self-hosted/blob/d80a7d9c86cd290c36b4d64a26fbb438a408c6ad/sentry/sentry.conf.example.py#L262-L318 - If no 2 didn't solve it for you, can you do that again (open the event id) and paste the URL here?
Self hosted version was 25.5.1 as mentioned but updated to 25.6.0 and then 25.6.1, problem persists.
Checking the flags, these are what's in there, I haven't modified these at all:
SENTRY_FEATURES["projects:sample-events"] = False
SENTRY_FEATURES.update(
{
feature: True
for feature in (
"organizations:discover",
"organizations:events",
"organizations:global-views",
"organizations:incidents",
"organizations:integrations-issue-basic",
"organizations:integrations-issue-sync",
"organizations:invite-members",
"organizations:metric-alert-builder-aggregate",
"organizations:sso-basic",
"organizations:sso-rippling",
"organizations:sso-saml2",
"organizations:performance-view",
"organizations:advanced-search",
"organizations:session-replay",
"organizations:issue-platform",
"organizations:profiling",
"organizations:monitors",
"organizations:dashboards-mep",
"organizations:mep-rollout-flag",
"organizations:dashboards-rh-widget",
"organizations:metrics-extraction",
"organizations:transaction-metrics-extraction",
"projects:custom-inbound-filters",
"projects:data-forwarding",
"projects:discard-groups",
"projects:plugins",
"projects:rate-limits",
"projects:servicehooks",
)
# Starfish related flags
+ (
"organizations:deprecate-fid-from-performance-score",
"organizations:indexed-spans-extraction",
"organizations:insights-entry-points",
"organizations:insights-initial-modules",
"organizations:insights-addon-modules",
"organizations:mobile-ttid-ttfd-contribution",
"organizations:performance-calculate-score-relay",
"organizations:standalone-span-ingestion",
"organizations:starfish-browser-resource-module-image-view",
"organizations:starfish-browser-resource-module-ui",
"organizations:starfish-browser-webvitals",
"organizations:starfish-browser-webvitals-pageoverview-v2",
"organizations:starfish-browser-webvitals-replace-fid-with-inp",
"organizations:starfish-browser-webvitals-use-backend-scores",
"organizations:starfish-mobile-appstart",
"projects:span-metrics-extraction",
"projects:span-metrics-extraction-addons",
)
# User Feedback related flags
+ (
"organizations:user-feedback-ingest",
"organizations:user-feedback-replay-clip",
"organizations:user-feedback-ui",
)
}
)
I added the continuous profiling tags, didn't fix the issue.
As for the URL, I'm not going to paste a working URL but I suspect you're after what path its trying to go to:
https://sentry.redacted.com/organizations/redacted/insights/backend/redacted-api:4d5ea51d9e7d4e03a0849712650669d0/?project=3&query=http.method%3AGET%20transaction.op%3Ahttp.server&referrer=performance-transaction-summary&statsPeriod=1h&transaction=health.Health&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29
Ah.... you are missing another feature flag in which I believe it should be enabled by default.
My URL ends up to be: https://sentry.internal.company.com/organizations/redacted/insights/backend/summary/trace/652a12c36eee19e7c76a1b995dccdde8/?eventId=fcddf435f8237bb3&project=45&query=transaction.op%3Aevent_queue.consume&referrer=performance-transaction-summary&source=performance_transaction_summary&statsPeriod=24h×tamp=1750723209&transaction=redacted&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29
I believe you should add "organizations:performance-trace-details" feature flag, but I'm not so sure myself.
Let me ask this internally first.
organizations:performance-trace-details fixed the issue 👍
I find the changelog to be rather lacking regarding this new feature flag requirement... We're on 25.5.1, and I have no clue (from reading the changelogs), which version caused this change. 25.6 mentions possibly related changes, but it clearly happened before that. I found out today that all of our recent performance logs are useless. Just "empty" transactions that look to be in order at a glance... So much for fixing any bad performance issues before the vacation period :(
It should at least be mentioned in this list https://develop.sentry.dev/self-hosted/releases/#breaking-changes
organizations:performance-trace-detailsfixed the issue 👍
I am really, really, surprised that it works.....
I find the changelog to be rather lacking regarding this new feature flag requirement... We're on 25.5.1, and I have no clue (from reading the changelogs), which version caused this change. 25.6 mentions possibly related changes, but it clearly happened before that. I found out today that all of our recent performance logs are useless. Just "empty" transactions that look to be in order at a glance... So much for fixing any bad performance issues before the vacation period :(
It should at least be mentioned in this list https://develop.sentry.dev/self-hosted/releases/#breaking-changes
Yes since I'm a contractor now, I want to address this changelog issue. The 25.6.0 release notes was gathered from my draft here: https://github.com/getsentry/self-hosted/issues/3707#issuecomment-2972045137
I had the same problem, solved updating sentry.conf to latest version based on sentry.conf.example.py
Fixed the same way as @sertxudev , thx Maybe Helm chart default feature flags should be updated accordingly? I use the latest version 26.18.0, but the workaround is required anyway
A little update for those who use Sentry Helm chart (26.19.0 as for me), adding the following feature snippet to config.sentryConfPy block fixed for me (no need to paste everything as mentioned below):
sentry.conf.py: |
...
SENTRY_FEATURES.update(
{
feature: True
for feature in (
"organizations:performance-trace-details",
"organizations:trace-view-v1",
)
}
)
The fix has been merged into sentry (the repository), let's see in 5 more days for the 25.7.0 release :) https://github.com/getsentry/sentry/pull/94474
Hey folks, 25.7.0 has been released. Please upgrade and provide feedback on whether things run smoothly (or if it isn't).