Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GCP Compute Engine dashboard #1336

Merged
merged 35 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9488ba0
Add GCP Compute Engine dashboard
anaivanov Sep 23, 2024
1863b74
fix lint
anaivanov Sep 23, 2024
58502da
fix template variables
anaivanov Sep 23, 2024
6adbb6c
fix top5 tables
anaivanov Sep 23, 2024
900671c
fix overview queries
anaivanov Sep 23, 2024
1eb3ccb
update cpu unit
anaivanov Sep 23, 2024
9911c85
Add Instances table
anaivanov Sep 23, 2024
123a4f9
remove text panel
anaivanov Sep 24, 2024
81a5618
address comments
anaivanov Sep 24, 2024
b3c31c8
refactor and address comments(queries)
anaivanov Sep 24, 2024
24a488a
update columns name in Instances table
anaivanov Sep 24, 2024
7b53072
fix table
anaivanov Sep 24, 2024
5a4af71
add overrides to topk tables for column names
anaivanov Sep 24, 2024
b15f2b6
refactor
anaivanov Sep 24, 2024
e4f3e47
change order of panels in Instances row
anaivanov Sep 24, 2024
7b2e3a3
Update unit to sishort from short
anaivanov Sep 24, 2024
f1aacad
readd text panel in Instance row
anaivanov Sep 24, 2024
1cd56d1
update system problem count panel
anaivanov Sep 24, 2024
62559ae
update topk queries
anaivanov Sep 24, 2024
d8c8c14
use gauge for cpuUtilization in Instances row
anaivanov Sep 24, 2024
29a9425
update table to show 1 value per instance / 5m
anaivanov Sep 24, 2024
d300d42
use type gauge
anaivanov Sep 24, 2024
753998e
fix description
anaivanov Sep 25, 2024
416ab8e
change from raw to gauge
anaivanov Sep 25, 2024
a0cb246
update column titles and add update colors for counts
anaivanov Sep 26, 2024
bcbb9d9
Update panel names
anaivanov Sep 26, 2024
c8b9552
refactors
anaivanov Sep 26, 2024
45514b9
table: remove color
anaivanov Sep 26, 2024
4239048
add legend for instance count panel
anaivanov Sep 26, 2024
1aac2ec
update panel titles
anaivanov Sep 26, 2024
41019f8
fix titles
anaivanov Sep 26, 2024
8351109
change order of panels
anaivanov Sep 26, 2024
94adb65
refactor stat code
anaivanov Sep 26, 2024
2cd9870
Merge branch 'master' into ana/add-gcp-ce-dashboard
anaivanov Sep 27, 2024
fe0e259
Merge branch 'master' into ana/add-gcp-ce-dashboard
anaivanov Sep 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions csp-mixin/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
gcpoadbalancerBackend: (import './signals/gcpoadbalancerBackend.libsonnet')(this),
azureloadbalancer: (import './signals/azureloadbalancer.libsonnet')(this),
azurevirtualnetwork: (import './signals/azurevirtualnetwork.libsonnet')(this),
gcpce: (import './signals/gcpce.libsonnet')(this),
gcpceOverview: (import './signals/gcpceOverview.libsonnet')(this),
},
blobStorage: {
enableAvailability: false,
Expand Down
15 changes: 15 additions & 0 deletions csp-mixin/dashboards.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ local commonlib = import 'common-lib/common/main.libsonnet';
+ csplib.grafana.rows.glb_traffic_metrics
)
),
[csplib.config.uid + '-computeengine.json']:
local variables = csplib.signals.gcpce.getVariablesMultiChoice();
g.dashboard.new(csplib.config.dashboardNamePrefix + 'Compute Engine')
+ g.dashboard.withUid(csplib.config.uid + '-computeengine')
+ g.dashboard.withTags(csplib.config.dashboardTags)
+ g.dashboard.withTimezone(csplib.config.dashboardTimezone)
+ g.dashboard.withRefresh(csplib.config.dashboardRefresh)
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
+ g.dashboard.withVariables(variables)
+ g.dashboard.withPanels(
g.util.grid.wrapPanels(
csplib.grafana.rows.gce_overview +
csplib.grafana.rows.gce_instance
)
),
} else {}
+
if csplib.config.uid == 'azure' then
Expand Down
Loading
Loading