コード例 #1
0
# latest epoch
LATEST_EPOCH = 2

# grouping related configs
#
# The default values are hardcoded because some grouping configs might
# only exists temporarily for testing purposes.  If we delete them from
# the codebase and a customer still has them set in the options we want to
# fall back to the oldest config.
#
# TODO: we might instead want to fall back to the latest of the project's
# epoch instead.
DEFAULT_GROUPING_CONFIG = 'legacy:2019-03-12'
register(
    key='sentry:grouping_config',
    epoch_defaults={
        1: DEFAULT_GROUPING_CONFIG,
    }
)

# Grouping enhancements defaults
DEFAULT_GROUPING_ENHANCEMENTS_BASE = 'legacy:2019-03-12'
register(
    key='sentry:grouping_enhancements_base',
    epoch_defaults={
        1: DEFAULT_GROUPING_ENHANCEMENTS_BASE,
    }
)
register(
    key='sentry:grouping_enhancements',
    default=u''
)
コード例 #2
0
ファイル: defaults.py プロジェクト: kalhara14/SSS_Sentry
# grouping related configs
#
# The default values are hardcoded because some grouping configs might
# only exists temporarily for testing purposes.  If we delete them from
# the codebase and a customer still has them set in the options we want to
# fall back to the oldest config.
#
# TODO: we might instead want to fall back to the latest of the project's
# epoch instead.
LEGACY_GROUPING_CONFIG = "legacy:2019-03-12"
DEFAULT_GROUPING_CONFIG = "newstyle:2019-10-29"
register(
    key="sentry:grouping_config",
    epoch_defaults={
        1: LEGACY_GROUPING_CONFIG,
        3: "newstyle:2019-05-08",
        4: DEFAULT_GROUPING_CONFIG,
    },
)

# Grouping enhancements defaults
LEGACY_GROUPING_ENHANCEMENTS_BASE = "legacy:2019-03-12"
DEFAULT_GROUPING_ENHANCEMENTS_BASE = "common:2019-03-23"
register(
    key="sentry:grouping_enhancements_base",
    epoch_defaults={1: LEGACY_GROUPING_ENHANCEMENTS_BASE, 3: DEFAULT_GROUPING_ENHANCEMENTS_BASE},
)
register(key="sentry:grouping_enhancements", default=u"")

# server side fingerprinting defaults.
register(key="sentry:fingerprinting_rules", default=u"")
コード例 #3
0
# grouping related configs
#
# The default values are hardcoded because some grouping configs might
# only exists temporarily for testing purposes.  If we delete them from
# the codebase and a customer still has them set in the options we want to
# fall back to the oldest config.
#
# TODO: we might instead want to fall back to the latest of the project's
# epoch instead.
LEGACY_GROUPING_CONFIG = "legacy:2019-03-12"
DEFAULT_GROUPING_CONFIG = "newstyle:2019-10-29"
register(
    key="sentry:grouping_config",
    epoch_defaults={
        1: LEGACY_GROUPING_CONFIG,
        3: "newstyle:2019-05-08",
        4: DEFAULT_GROUPING_CONFIG,
    },
)

register(key="sentry:grouping_enhancements", default="")

# server side fingerprinting defaults.
register(key="sentry:fingerprinting_rules", default="")

# Secondary grouping setup to run in addition for transition phase.
#
# To ensure we minimize unnecessary load, we ttl the secondary grouping setup
# to 90 days, as that's when all groups should have hashes associated with
# them.
register(key="sentry:secondary_grouping_expiry", default=0)
コード例 #4
0
# latest epoch
LATEST_EPOCH = 2

# grouping related configs
#
# The default values are hardcoded because some grouping configs might
# only exists temporarily for testing purposes.  If we delete them from
# the codebase and a customer still has them set in the options we want to
# fall back to the oldest config.
#
# TODO: we might instead want to fall back to the latest of the project's
# epoch instead.
DEFAULT_GROUPING_CONFIG = 'legacy:2019-03-12'
register(key='sentry:grouping_config',
         epoch_defaults={
             1: DEFAULT_GROUPING_CONFIG,
         })

# Grouping enhancements defaults
DEFAULT_GROUPING_ENHANCEMENTS_BASE = 'legacy:2019-03-12'
register(key='sentry:grouping_enhancements_base',
         epoch_defaults={
             1: DEFAULT_GROUPING_ENHANCEMENTS_BASE,
         })
register(key='sentry:grouping_enhancements', default=u'')

# server side fingerprinting defaults.
register(key='sentry:fingerprinting_rules', default=u'')

# The JavaScript loader version that is the project default.  This option
# is expected to be never set but the epoch defaults are used if no
コード例 #5
0
# latest epoch
LATEST_EPOCH = 1

# grouping related configs
#
# The default values are hardcoded because some grouping configs might
# only exists temporarily for testing purposes.  If we delete them from
# the codebase and a customer still has them set in the options we want to
# fall back to the oldest config.
#
# TODO: we might instead want to fall back to the latest of the project's
# epoch instead.
DEFAULT_GROUPING_CONFIG = 'legacy:2019-03-12'
register(
    key='sentry:grouping_config',
    epoch_defaults={
        1: DEFAULT_GROUPING_CONFIG,
        # 2: 'combined:2019-04-07',
    })

# Grouping enhancements defaults
DEFAULT_GROUPING_ENHANCEMENTS_BASE = 'legacy:2019-03-12'
register(key='sentry:grouping_enhancements_base',
         epoch_defaults={
             1: DEFAULT_GROUPING_ENHANCEMENTS_BASE,
         })
register(key='sentry:grouping_enhancements', default=u'')

# server side fingerprinting defaults.
register(key='sentry:fingerprinting_rules', default=u'')

# The JavaScript loader version that is the project default.  This option