Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Added group to MetricConfig (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Oct 18, 2022
1 parent b23a43e commit 965b284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ async def get_metrics_config(self, *args, **kwargs) -> List[MetricConfig]:
MetricConfig(
id=metric.id,
label=metric.label,
group=metric.group,
config=json.loads(metric.config),
)
for metric in response.configs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
class MetricConfig(SerializableModel):
id: str
label: str
group: str
config: Dict[str, Any]


Expand Down

0 comments on commit 965b284

Please sign in to comment.