We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What happened:
Under Testing & synthetics > Synthetics > Config > Terraform The JSON config that is generated is missing the frequency of the check.
Example of a scripted check with a 300s interval and a 30s timeout:
Note the script doesn't show up either, which is a known issue #853
What you expected to happen:
There should be a frequency value of 300,000 and a timeout of 30,000. Here is the terraform version of this check in HCL format:
resource "grafana_synthetic_monitoring_check" "scripted" { provider = grafana.sm job = "Scripted check 1" target = "https://grafana.com/" enabled = true frequency = 300000 timeout = 30000 probes = [ data.grafana_synthetic_monitoring_probes.main.probes.Paris, ] labels = { environment = "production" } settings { scripted { // `script.js` is a file in the same directory as this file and contains the // script to be executed. script = file("${path.module}/sm-scripts/scripted-check1.js") } } }
Environment: plugin v1.16.10
The text was updated successfully, but these errors were encountered:
Probably an oversight here, timeout and frequency are not part of the TFCheck interface:
synthetic-monitoring-app/src/components/TerraformConfig/terraformTypes.ts
Lines 34 to 41 in b9d63f5
And then they would need to be set here:
synthetic-monitoring-app/src/components/TerraformConfig/terraformConfigUtils.ts
Lines 176 to 183 in b9d63f5
Sorry, something went wrong.
No branches or pull requests
What happened:
Under Testing & synthetics > Synthetics > Config > Terraform
The JSON config that is generated is missing the frequency of the check.
Example of a scripted check with a 300s interval and a 30s timeout:
Note the script doesn't show up either, which is a known issue #853
What you expected to happen:
There should be a frequency value of 300,000 and a timeout of 30,000. Here is the terraform version of this check in HCL format:
Environment:
plugin v1.16.10
The text was updated successfully, but these errors were encountered: