Skip to content

Commit

Permalink
add CollectorType
Browse files Browse the repository at this point in the history
  • Loading branch information
slicklash committed Jul 3, 2023
1 parent fcb4919 commit f97b36d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions granulate_utils/config_feeder/core/models/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ class CloudProvider(str, Enum):
GCP = "gcp"


class CollectorType(str, Enum):
UNKOWN = "unknown"
SAGENT = "sagent"
GPROFILER = "gprofiler"


class ClusterBase(BaseModel):
provider: CloudProvider
external_id: str
Expand Down
7 changes: 7 additions & 0 deletions granulate_utils/config_feeder/core/models/collection.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from enum import Enum


class CollectorType(str, Enum):
UNKOWN = "unknown"
SAGENT = "sagent"
GPROFILER = "gprofiler"

0 comments on commit f97b36d

Please sign in to comment.