Skip to content

Commit

Permalink
Dashboard Billing update
Browse files Browse the repository at this point in the history
  • Loading branch information
jangaraj committed Dec 22, 2024
1 parent 23581ff commit e671eea
Show file tree
Hide file tree
Showing 2 changed files with 424 additions and 448 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

validated_dashboards = [
"aws-api-gateway/aws-api-gateway.json",
"aws-autoscaling/aws-autoscaling.json"
"aws-autoscaling/aws-autoscaling.json",
"aws-billing/aws-billing.json",
]

standard_footer = "<a target=\"_blank\" href=\"http://www.monitoringartist.com\" title=\"Dashboard maintained by Monitoring Artist - DevOps / Docker / Kubernetes / AWS ECS / Google GCP / Zabbix / Zenoss / Terraform / Monitoring\"><img src=\"https://monitoringartist.github.io/monitoring-artist-logo-grafana.png\" height=\"30px\" /></a> | \n<a target=\"_blank\" href=\"https://docs.aws.amazon.com/transfer/latest/userguide/monitoring.html\">AWS CloudWatch Transfer Family documentation</a> | \n<a target=\"_blank\" href=\"https://grafana.com/dashboards/20008\">Installed from Grafana.com dashboards</a>"
Expand Down Expand Up @@ -37,7 +38,8 @@ def validate_config(f, dashboard):
validate_template(f, template)
if "editable" in dashboard and dashboard["editable"] != False:
print('Dashboard ' + f + ' is editable=true')

if dashboard["tags"] != ["monitoringartist","cloudwatch"]:
print('Dashboard ' + f + ' is missing tags "monitoringartist","cloudwatch"')

def validate_inputs(f, dashboard):
if len(dashboard["__inputs"]) < 0:
Expand Down
Loading

0 comments on commit e671eea

Please sign in to comment.