Skip to content

Commit 49ff0fe

Browse files
authored
remove azure virtual network dashboard not useful with DDos metrics (#1429)
1 parent c73e645 commit 49ff0fe

7 files changed

+0
-482
lines changed

csp-mixin/.lint

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ exclusions:
1414
reason: "Overview which is not filterable by instance"
1515
- dashboard: "Azure Load Balancing"
1616
- dashboard: "GCP Load Balancing"
17-
- dashboard: "Azure Virtual network"
1817
reason: "resourceName is the instance label"
1918
- dashboard: "GCP Virtual private cloud"
2019
reason: "project_id is the instance label"
@@ -39,7 +38,6 @@ exclusions:
3938
reason: "Using 'resourceName' as instance label"
4039
- dashboard: "Azure Load Balancing"
4140
- dashboard: "GCP Load Balancing"
42-
- dashboard: "Azure Virtual network"
4341
reason: "resourceName is the instance label"
4442
- dashboard: "GCP Virtual private cloud"
4543
reason: "project_id is the instance label"
@@ -66,7 +64,6 @@ exclusions:
6664
# - dashboard: "Azure Elastic pool"
6765
# - dashboard: "Azure Blob storage"
6866
# - dashboard: "GCP Blob storage"
69-
# - dashboard: "Azure Virtual network"
7067
# reason: "False positive.. Need to look into this"
7168
# - dashboard: "GCP Virtual private cloud"
7269
# reason: "False positive as above. Linter does not look at overrides."

csp-mixin/config.libsonnet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
gcploadbalancer: (import './signals/gcploadbalancer.libsonnet')(this),
1313
gcpoadbalancerBackend: (import './signals/gcpoadbalancerBackend.libsonnet')(this),
1414
azureloadbalancer: (import './signals/azureloadbalancer.libsonnet')(this),
15-
azurevirtualnetwork: (import './signals/azurevirtualnetwork.libsonnet')(this),
1615
azurevm: (import './signals/azurevm.libsonnet')(this),
1716
azurevmOverview: (import './signals/azurevmOverview.libsonnet')(this),
1817
azurequeuestore: (import './signals/azurequeuestore.libsonnet')(this),

csp-mixin/dashboards.libsonnet

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -170,27 +170,6 @@ local commonlib = import 'common-lib/common/main.libsonnet';
170170
)
171171
),
172172

173-
[csplib.config.uid + '-virtualnetwork.json']:
174-
local variables = csplib.signals.azureloadbalancer.getVariablesMultiChoice();
175-
g.dashboard.new(csplib.config.dashboardNamePrefix + 'Virtual network')
176-
+ g.dashboard.withUid(csplib.config.uid + '-virtualnetwork')
177-
+ g.dashboard.withTags(csplib.config.dashboardTags)
178-
+ g.dashboard.withTimezone(csplib.config.dashboardTimezone)
179-
+ g.dashboard.withRefresh(csplib.config.dashboardRefresh)
180-
+ g.dashboard.timepicker.withTimeOptions(csplib.config.dashboardPeriod)
181-
+ g.dashboard.withVariables(variables)
182-
+ g.dashboard.withPanels(
183-
g.util.grid.wrapPanels(
184-
g.util.panel.resolveCollapsedFlagOnRows(
185-
[
186-
csplib.grafana.rows.vn_overview,
187-
csplib.grafana.rows.vn_bytes,
188-
csplib.grafana.rows.vn_packets,
189-
]
190-
)
191-
)
192-
),
193-
194173
[csplib.config.uid + '-virtualmachines.json']:
195174
local variables = csplib.signals.azurevm.getVariablesMultiChoice();
196175
g.dashboard.new(csplib.config.dashboardNamePrefix + 'Virtual Machines')

csp-mixin/panels/azurevirtualnetwork.libsonnet

Lines changed: 0 additions & 62 deletions
This file was deleted.

csp-mixin/panels/main.libsonnet

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
azureloadbalancer: (import './azureloadbalancer.libsonnet').new(this),
55
azurequeuestore: (import './azurequeuestore.libsonnet').new(this),
66
azuresqldb: (import './azuresqldb.libsonnet').new(this),
7-
azurevirtualnetwork: (import './azurevirtualnetwork.libsonnet').new(this),
87
azurevm: (import './azurevm.libsonnet').new(this),
98
blobstore: (import './blobstore.libsonnet').new(this),
109
gcploadbalancer: (import './gcploadbalancer.libsonnet').new(this),

csp-mixin/rows.libsonnet

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -270,64 +270,6 @@ local g = import './g.libsonnet';
270270
]
271271
),
272272

273-
// Azure Virtual Network
274-
vn_overview:
275-
g.panel.row.new('Overview')
276-
+ g.panel.row.withCollapsed(false)
277-
+ g.panel.row.withPanels(
278-
[
279-
this.grafana.panels.azurevirtualnetwork.vn_under_ddos
280-
+ g.panel.timeSeries.gridPos.withW(6)
281-
+ g.panel.timeSeries.gridPos.withH(6),
282-
283-
this.grafana.panels.azurevirtualnetwork.vn_pingmesh_avg
284-
+ g.panel.timeSeries.gridPos.withW(6)
285-
+ g.panel.timeSeries.gridPos.withH(6),
286-
287-
this.grafana.panels.azurevirtualnetwork.vn_packet_trigger
288-
+ g.panel.timeSeries.gridPos.withW(12)
289-
+ g.panel.timeSeries.gridPos.withH(6),
290-
]
291-
),
292-
293-
vn_bytes:
294-
g.panel.row.new('Bytes')
295-
+ g.panel.row.withCollapsed(false)
296-
+ g.panel.row.withPanels(
297-
[
298-
this.grafana.panels.azurevirtualnetwork.vn_bytes_by_action
299-
+ g.panel.timeSeries.gridPos.withW(8)
300-
+ g.panel.timeSeries.gridPos.withH(8),
301-
302-
this.grafana.panels.azurevirtualnetwork.vn_bytes_dropped_by_protocol
303-
+ g.panel.timeSeries.gridPos.withW(8)
304-
+ g.panel.timeSeries.gridPos.withH(8),
305-
306-
this.grafana.panels.azurevirtualnetwork.vn_bytes_forwarded_by_protocol
307-
+ g.panel.timeSeries.gridPos.withW(8)
308-
+ g.panel.timeSeries.gridPos.withH(8),
309-
]
310-
),
311-
312-
vn_packets:
313-
g.panel.row.new('Packets')
314-
+ g.panel.row.withCollapsed(false)
315-
+ g.panel.row.withPanels(
316-
[
317-
this.grafana.panels.azurevirtualnetwork.vn_packets_by_action
318-
+ g.panel.timeSeries.gridPos.withW(8)
319-
+ g.panel.timeSeries.gridPos.withH(8),
320-
321-
this.grafana.panels.azurevirtualnetwork.vn_packets_dropped_by_protocol
322-
+ g.panel.timeSeries.gridPos.withW(8)
323-
+ g.panel.timeSeries.gridPos.withH(8),
324-
325-
this.grafana.panels.azurevirtualnetwork.vn_packets_forwarded_by_protocol
326-
+ g.panel.timeSeries.gridPos.withW(8)
327-
+ g.panel.timeSeries.gridPos.withH(8),
328-
]
329-
),
330-
331273
// Azure Virtual Machines
332274
avm_overview:
333275
g.panel.row.new('Overview')

0 commit comments

Comments
 (0)