Dispatcher is a repository for the Grafana Cloud playground setup and for personal use only.
The prerequisites are:
- Google Cloud storage as Terraform state backend.
- Grafana Cloud Terraform provider.
- Discord setting.
Not that I'm too lazy to automate these steps but I'm ... lazy.
TBD
TBD
TBD
TBD
The simple usage is as follows:
module "dispatcher" {
source = "locmai/dispatcher/grafana"
version = "~> 0.1.0"
grafana_cloud_api_key = "<sensitive>"
discord_webhook_url = "<sensitive>"
name = "test1"
region_slug = "us"
}
Install the terraform-docs:
go install github.com/terraform-docs/[email protected]
Then run:
terraform-docs markdown table --output-file README.md --output-mode inject .
or:
make readme
It will generate the below sections.
Name | Version |
---|---|
grafana | 1.33.0 |
Name | Version |
---|---|
grafana | 1.33.0 |
grafana.cloud | 1.33.0 |
grafana.sm | 1.33.0 |
No modules.
Name | Type |
---|---|
grafana_api_key.dispatcher | resource |
grafana_cloud_api_key.metrics_publish | resource |
grafana_cloud_stack.dispatcher | resource |
grafana_contact_point.discord | resource |
grafana_synthetic_monitoring_check.dns | resource |
grafana_synthetic_monitoring_check.ping | resource |
grafana_synthetic_monitoring_installation.sm_stack | resource |
grafana_synthetic_monitoring_probes.main | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
discord_webhook_url | Discord Webhook URL from Server Setting's integrations tab | string |
n/a | yes |
domain_list | List of domain to check | list(any) |
[] |
no |
grafana_cloud_api_key | Grafana Cloud API key for creating initialize Dispatcher cloud Stack | string |
n/a | yes |
name | Cloud stack name and slug | string |
n/a | yes |
region_slug | Region slug | string |
n/a | yes |
Name | Description |
---|---|
dispatcher | Dispatcher cloud stack data |
probers | Public probers |