Besides the public probes run by Grafana Labs, you can also install your own private probes. These are only accessible to you and only write data to your Grafana Cloud account. Private probes are instances of the open source Grafana Synthetic Monitoring Agent.
resource "grafana_synthetic_monitoring_probe" "main" {
name = "Mount Everest"
latitude = 27.98606
longitude = 86.92262
region = "APAC"
labels = {
type = "mountain"
}
}
latitude
(Number) Latitude coordinates.longitude
(Number) Longitude coordinates.name
(String) Name of the probe.region
(String) Region of the probe.labels
(Map of String) Custom labels to be included with collected metrics and logs.public
(Boolean) Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to true
. Defaults to false
.auth_token
(String, Sensitive) The probe authentication token. Your probe must use this to authenticate with Grafana Cloud.id
(String) The ID of the probe.tenant_id
(Number) The tenant ID of the probe.Import is supported using the following syntax:
terraform import grafana_synthetic_monitoring_probe.name "{{ id }}"
terraform import grafana_synthetic_monitoring_probe.name "{{ id }}:{{ authToken }}"