Skip to content

Commit

Permalink
feat(mep): add commit log topics config (#2928)
Browse files Browse the repository at this point in the history
  • Loading branch information
onewland authored Jul 12, 2022
1 parent b4dfa55 commit 892cf59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snuba/settings/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def validate_settings(locals: Mapping[str, Any]) -> None:
"profiles-call-tree",
"snuba-replay-events",
"snuba-generic-metrics",
"snuba-generic-metrics-sets-commit-log",
"snuba-generic-metrics-distributions-commit-log",
"snuba-dead-letter-generic-metrics",
"snuba-dead-letter-sessions",
"snuba-dead-letter-metrics",
Expand Down
4 changes: 4 additions & 0 deletions snuba/utils/streams/topics.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ class Topic(Enum):
PROFILES_FUNCTIONS = "profiles-call-tree"
REPLAYEVENTS = "snuba-replay-events"
GENERIC_METRICS = "snuba-generic-metrics"
GENERIC_METRICS_SETS_COMMIT_LOG = "snuba-generic-metrics-sets-commit-log"
GENERIC_METRICS_DISTRIBUTIONS_COMMIT_LOG = (
"snuba-generic-metrics-distributions-commit-log"
)

DEAD_LETTER_QUEUE_INSERTS = "snuba-dead-letter-inserts"
DEAD_LETTER_METRICS = "snuba-dead-letter-metrics"
Expand Down

0 comments on commit 892cf59

Please sign in to comment.