4
0
0

sentry开启logs功能

2025-09-01
2026-03-30
文章摘要
|

sentry开启logs功能

25.9.0使用的25.8.0的配置

增加这些:

"organizations:performance-trace-explorer", # 🟢 Add this one!

# Ourlogs
        + (
            "organizations:ourlogs-enabled",
            "organizations:ourlogs-ingestion",
            "organizations:ourlogs-stats",
            "organizations:ourlogs-graph",
            "organizations:ourlogs-visualize-sidebar",
            "organizations:ourlogs-dashboards",
            "organizations:ourlogs-alerts",
            "organizations:ourlogs-live-refresh",
            "organizations:ourlogs-infinite-scroll",
            "organizations:ourlogs-replay-ui", # This does nothing, on Sentry SaaS this is disabled
            "organizations:ourlogs-saved-queries", # This is commented, you may enable this.
        )

以下是原文中节选:

SENTRY_FEATURES.update(
    {
        feature: True
        for feature in (
            "organizations:discover",
            # ...the rest of the features
        # Performance/Tracing/Spans related flags
        + (
            "organizations:performance-view",
            "organizations:performance-trace-explorer", # 🟢 Add this one!
            "organizations:visibility-explore-view",    # 🟢 Make sure this is here!
            "organizations:transaction-metrics-extraction",
            # ...the rest of the features
        ) +
        # Ourlogs
        + (
            "organizations:ourlogs-enabled",
            "organizations:ourlogs-ingestion",
            "organizations:ourlogs-stats",
            "organizations:ourlogs-graph",
            "organizations:ourlogs-visualize-sidebar",
            "organizations:ourlogs-dashboards",
            "organizations:ourlogs-alerts",
            "organizations:ourlogs-live-refresh",
            "organizations:ourlogs-infinite-scroll",
            "organizations:ourlogs-replay-ui", # This does nothing, on Sentry SaaS this is disabled
            #"organizations:ourlogs-saved-queries", # This is commented, you may enable this.
        )
    }
)

参考链接:
https://github.com/getsentry/self-hosted/issues/3560

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或者给予支持!

sentry开启logs功能
/archives/sentrykai-qi-logsgong-neng
Author
Administrator
Published at
2025-09-01

欢迎来到我的博客!