alertmanagers_endpoints |
List of endpoints of the alert managers |
list(string) |
[] |
no |
cf_functional_account |
Configuration for the CloudFoundry function account. Required for variant and if enable_cf_exporter is set to true |
object({ api_endpoint = string username = string password = string }) |
{ "api_endpoint": "", "password": "", "username": "" } |
no |
cf_paas_exporter_disk_quota |
CF PaaS Exporter disk quota |
number |
100 |
no |
cf_paas_exporter_image |
Image to use for cf paas exporter. Use a v* tagged version to prevent automatic updates |
string |
"loafoe/paas-prometheus-exporter:v0.0.5" |
no |
cf_paas_exporter_memory |
CF PaaS Exporter memory |
number |
256 |
no |
cf_paas_exporter_timeout |
CF PaaS Exporter timeout |
number |
120 |
no |
cf_space_id |
Cloudfoundry SPACE id to use for deploying all Thanos components. |
string |
n/a |
yes |
docker_password |
Docker registry password |
string |
"" |
no |
docker_username |
Docker registry username |
string |
"" |
no |
enable_cf_exporter |
Enable the CloudFoundry metrics exporter and scrape it from Thanos |
bool |
false |
no |
enable_hsdp_metrics_exporter |
Enable scraping of HSDP Metrics instances |
bool |
false |
no |
enable_prometheus_proxy |
Enable the Prometheus proxy, protected by Basic Auth |
bool |
false |
no |
environment |
Pass environment variable to the app |
map(any) |
{} |
no |
hsdp_metrics_exporter |
HSDP Metrics exporter configuration |
object({ image = string docker_username = string docker_password = string memory = number disk_quota = number timeout = number region = string }) |
{ "disk_quota": 100, "docker_password": "", "docker_username": "", "image": "loafoe/prometheus-hsdp-metrics-exporter:v0.0.14", "memory": 256, "region": "us-east", "timeout": 120 } |
no |
name_postfix |
The postfix string to append to the space, hostname, etc. Prevents namespace clashes |
string |
"" |
no |
spaces |
The list of CF space GUIDs to scrape. When provided variant will only consider apps in these spaces |
list(string) |
[] |
no |
tenants |
The list of tenants to scrape. When an app does not specify tenant then 'default' is used |
list(string) |
[ "default" ] |
no |
thanos_compactor_disk_quota |
Thanos disk quota |
number |
5000 |
no |
thanos_compactor_enabled |
Enable or disable the Thanos compactor component |
bool |
true |
no |
thanos_compactor_image |
Image to use for Thanos compactor. Use a v* tagged version to prevent automatic updates |
string |
"ghcr.io/philips-labs/terraform-cloudfoundry-thanos:v6.5.0" |
no |
thanos_compactor_memory |
Thanos store memory |
number |
1024 |
no |
thanos_disk_quota |
Thanos disk quota |
number |
5000 |
no |
thanos_extra_config |
Any extra yaml config that will be merged into the prometheus config at runtime. Extra targets can be added here. |
string |
"" |
no |
thanos_file_sd_url |
A URL that exposes a prometheus file_sd yaml file will be periodically downloaded and used for service discovery |
string |
"" |
no |
thanos_image |
Image to use for Thanos app. Use a v* tagged version to prevent automatic updates |
string |
"ghcr.io/philips-labs/terraform-cloudfoundry-thanos:v6.5.0" |
no |
thanos_memory |
Thanos memory |
number |
1024 |
no |
thanos_public_endpoints |
Make Thanos public endpoint |
bool |
false |
no |
thanos_query_image |
Image to use for Thanos query. Use a v* tagged version to prevent automatic updates |
string |
"ghcr.io/philips-labs/terraform-cloudfoundry-thanos:v6.5.0" |
no |
thanos_query_memory |
Thanos memory |
number |
1024 |
no |
thanos_query_service_bindings |
A list of service instances that should be bound to the thanos app |
list(object({ service_instance = string })) |
[] |
no |
thanos_service_bindings |
A list of service instances that should be bound to the thanos app |
list(object({ service_instance = string })) |
[] |
no |
thanos_storage_tsdb_retention_time |
Thanos storage tsdb retention time |
string |
"2h" |
no |
thanos_store_disk_quota |
Thanos store disk quota |
number |
5000 |
no |
thanos_store_image |
Image to use for Thanos store. Use a v* tagged version to prevent automatic updates |
string |
"ghcr.io/philips-labs/terraform-cloudfoundry-thanos:v6.5.0" |
no |
thanos_store_memory |
Thanos store memory |
number |
1536 |
no |
thanos_store_service_bindings |
A list of service instances that should be bound to the thanos_store app |
list(object({ service_instance = string })) |
[] |
no |