-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: top-level ELB error metric and logs, downscale to min capacities (…
…#592) * fix: upgrade grafonnet-lib * feat: top-level metrics * fix: disable invalid panel * fix: downscale * fix: central logging of server errors * fix: lint * chore: rename devloop * chore: move up availability metric * fix: use local * fix: from grafonnet-lib upgrade * fix: missing vars.namespace * fix: use shared Redis panels * chore: put Redis at the bottom * fix: increase threshold for ELB errors
- Loading branch information
1 parent
9fd3a41
commit 7cf125d
Showing
25 changed files
with
460 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule grafonnet-lib
updated
61 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
terraform/monitoring/panels/lb/active_connections.libsonnet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
local grafana = import '../../grafonnet-lib/grafana.libsonnet'; | ||
local defaults = import '../../grafonnet-lib/defaults.libsonnet'; | ||
|
||
local panels = grafana.panels; | ||
local targets = grafana.targets; | ||
|
||
{ | ||
new(ds, vars):: | ||
panels.timeseries( | ||
title = 'Active Connections', | ||
datasource = ds.cloudwatch, | ||
) | ||
.configure(defaults.configuration.timeseries) | ||
|
||
.addTarget(targets.cloudwatch( | ||
datasource = ds.cloudwatch, | ||
namespace = 'AWS/ApplicationELB', | ||
metricName = 'ActiveConnectionCount', | ||
dimensions = { | ||
LoadBalancer: vars.load_balancer | ||
}, | ||
statistic = 'Average', | ||
)) | ||
} |
Oops, something went wrong.