This file contains hidden or 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
| ################################################### | |
| ## | |
| ## Alertmanager YAML configuration for routing. | |
| ## | |
| ## Will route alerts with a code_owner label to the slack-code-owners receiver | |
| ## configured above, but will continue processing them to send to both a | |
| ## central Slack channel (slack-monitoring) and PagerDuty receivers | |
| ## (pd-warning and pd-critical) | |
| ## |
This file contains hidden or 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
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_ICINGA2-IDO", | |
| "label": "icinga2-ido", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "mysql", | |
| "pluginName": "MySQL" | |
| } |
This file contains hidden or 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
| repos: | |
| ####### | |
| # ALL # | |
| ####### | |
| - repo: git://github.com/pre-commit/pre-commit-hooks | |
| rev: v2.2.3 | |
| hooks: | |
| # Git style | |
| - id: check-added-large-files |
This file contains hidden or 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
| import boto3 | |
| def delete_all_versions(bucket_name): | |
| s3 = boto3.client('s3') | |
| while True: | |
| # List object versions (limited to 1000 per request) | |
| response = s3.list_object_versions(Bucket=bucket_name) | |
| objects_to_delete = [] |
OlderNewer