generated from runwhen-contrib/codecollection-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from infracloudio/fix/slo
restructure SLO configs
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
codeBundle: | ||
repoUrl: https://github.com/infracloudio/ifc-rw-codecollection | ||
pathToYaml: codebundles/slo-default/queries.yaml | ||
pathToYaml: codebundles/rds-mysql-conn-count/slo-queries.yaml | ||
ref: main | ||
sloSpecType: simple-mwmb | ||
objective: 95 | ||
threshold: 48 | ||
threshold: 30 | ||
operand: lt |
4 changes: 2 additions & 2 deletions
4
codebundles/slo-default/queries.yaml → ...les/rds-mysql-conn-count/slo-queries.yaml
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Please update the RDS_MYSQL_DB_NAME to match your RDS instance name, for which we aim to establish the SLO based on aws_rds_database_connections_average metric | ||
errorQuery: "aws_rds_database_connections_average{dimension_DBInstanceIdentifier="<RDS_MYSQL_DB_NAME>"} > 30" | ||
totalQuery: "aws_rds_database_connections_average{dimension_DBInstanceIdentifier="<RDS_MYSQL_DB_NAME>"}" | ||
errorQuery: "aws_rds_database_connections_average{dimension_DBInstanceIdentifier="robotshopmysql"} > 30" | ||
totalQuery: "aws_rds_database_connections_average{dimension_DBInstanceIdentifier="robotshopmysql"}" |