|
1491 | 1491 | flags=FLAG_AUTOMATOR_MODIFIABLE, |
1492 | 1492 | ) |
1493 | 1493 |
|
1494 | | -# Killswitch for the Relay cardinality limiter, one of `enabled`, `disabled`, `passive`. |
1495 | | -# In `passive` mode Relay's cardinality limiter is active but it does not enforce the limits. |
1496 | | -register( |
1497 | | - "relay.cardinality-limiter.mode", |
1498 | | - default="disabled", |
1499 | | - flags=FLAG_AUTOMATOR_MODIFIABLE, |
1500 | | -) |
1501 | | -# Override to set a list of limits into passive mode by organization. |
1502 | | -# |
1503 | | -# In passive mode Relay's cardinality limiter is active but it does not enforce the limits. |
1504 | | -# |
1505 | | -# Example: `{'1': ["transactions"]}` |
1506 | | -# Forces the `transactions` cardinality limit into passive mode for the organization with id `1` (Sentry). |
1507 | | -register( |
1508 | | - "relay.cardinality-limiter.passive-limits-by-org", |
1509 | | - default={}, |
1510 | | - flags=FLAG_AUTOMATOR_MODIFIABLE, |
1511 | | -) |
1512 | | -# Sample rate for Cardinality Limiter Sentry errors. |
1513 | | -# |
1514 | | -# Rate needs to be between `0.0` and `1.0`. |
1515 | | -# If set to `1.0` all cardinality limiter rejections will be logged as a Sentry error. |
1516 | | -register( |
1517 | | - "relay.cardinality-limiter.error-sample-rate", |
1518 | | - default=0.00, |
1519 | | - flags=FLAG_AUTOMATOR_MODIFIABLE, |
1520 | | -) |
1521 | | -# List of additional cardinality limits and selectors. |
1522 | | -# |
1523 | | -# ``` |
1524 | | -# { |
1525 | | -# "rollout_rate": 0.001, |
1526 | | -# "limit": { .. Cardinality Limit .. } |
1527 | | -# } |
1528 | | -# ``` |
1529 | | -register("relay.cardinality-limiter.limits", default=[], flags=FLAG_AUTOMATOR_MODIFIABLE) |
1530 | | - |
1531 | 1494 | # Controls the encoding used in Relay for encoding distributions and sets |
1532 | 1495 | # when writing to Kafka. |
1533 | 1496 | # |
|
0 commit comments