Skip to content

Commit

Permalink
feat: Add dashboard generation
Browse files Browse the repository at this point in the history
  • Loading branch information
wurstbrot committed Dec 13, 2023
1 parent d25d669 commit 5a5832c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 185 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,7 @@ public class GrafanaController {

@Autowired
private OverviewDashboard overviewDashboard;
@RequestMapping(value = "/teamdashboard", method = RequestMethod.GET, produces="application/json")
@ResponseBody
public String getTeamDashboard() throws Exception {
PanelConfiguration panelConfiguration = new PanelConfiguration("Team Dashboard", "timeseries", "teamdashboard");
ArrayList<PanelConfiguration> panelConfigurations = new ArrayList<PanelConfiguration>();
panelConfigurations.add(panelConfiguration);
panelConfigurations.add(new PanelConfiguration("zweites Panel", "timeseries", "blabl"));

return overviewDashboard.getDashboard(panelConfigurations);
}
@RequestMapping(value = "/activities", method = RequestMethod.GET)
@ResponseBody
public Collection<Activity> getActivities() throws Exception {
Expand Down

This file was deleted.

0 comments on commit 5a5832c

Please sign in to comment.