Skip to content

Commit

Permalink
use uppercase enums
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Nov 29, 2024
1 parent 62901a4 commit 58a563e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions interfaces/tempo_cluster/v1/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ class TempoRole(str, Enum):
config:
-> https://grafana.com/docs/tempo/latest/configuration/#server
"""
all = "all" # default, meta-role. gets remapped to scalable-single-binary by the worker.

querier = "querier"
query_frontend = "query-frontend"
ingester = "ingester"
distributor = "distributor"
compactor = "compactor"
metrics_generator = "metrics-generator"
ALL = "all" # default, meta-role. gets remapped to scalable-single-binary by the worker.
QUERIER = "querier"
QUERY_FRONTEND = "query-frontend"
INGESTER = "ingester"
DISTRIBUTOR = "distributor"
COMPACTOR = "compactor"
METRICS_GENERATOR = "metrics-generator"


class TempoClusterRequirerAppData(BaseModel):
Expand Down

0 comments on commit 58a563e

Please sign in to comment.