Skip to content

Commit 348539d

Browse files
committed
adding missing variables
1 parent 405803d commit 348539d

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

deployment/terraform/cluster/local/apps/variables.tf

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ variable "haystack-console" {
251251
console_memory_request = "1000"
252252
console_memory_limit = "1000"
253253
console_jvm_memory_limit = "768"
254+
upstreamTimeout = 20000
255+
healthcheckthreshold_k8sCluster_cpuUsage = "0.9"
256+
healthcheckthreshold_k8sCluster_memoryUsage = "0.9"
257+
healthcheckthreshold_kafka_cpuUsage = "0.9"
254258
healthcheckthreshold_trends_iteratorAgeSeconds = "300"
255259
healthcheckthreshold_traces_iteratorAgeSeconds = "300"
256260
healthcheckthreshold_service-graph_iteratorAgeSeconds = "300"
@@ -393,6 +397,13 @@ variable "modelservice" {
393397
detector_mapper_index_name=""
394398
detector_index_name=""
395399
detector_mapper_es_config_aws_iam_auth_required=""
400+
modelservice_tracing_apikey=""
401+
haystack_collector_endpoint=""
402+
modelservice_tracing_clientid=""
403+
haystack_tracer_shutdown_timeout=""
404+
haystack_tracer_flush_interval=""
405+
haystack_tracer_thread_count=""
406+
haystack_tracer_queue_size=""
396407
}
397408
}
398409

@@ -450,6 +461,14 @@ variable "ad-manager" {
450461
metric_consumer_group_id=""
451462
anomaly_producer_breakout_topic=""
452463
throttle_gate_likelihood=""
464+
ad_manager_tracing_clientid=""
465+
tracing_status=""
466+
haystack_tracer_shutdown_timeout=""
467+
haystack_collector_endpoint=""
468+
haystack_tracer_flush_interval=""
469+
ad_manager_tracing_apikey=""
470+
haystack_tracer_thread_count=""
471+
haystack_tracer_queue_size=""
453472
}
454473
}
455474

deployment/terraform/modules/haystack-apps/kubernetes/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,14 @@ module "haystack-console" {
124124
influxdb_endpoint_host = "${var.haystack-console["influxdb_endpoint_host"]}"
125125
influxdb_endpoint_port = "${var.haystack-console["influxdb_endpoint_port"]}"
126126
grafana_endpoint = "${var.haystack-console["console_grafana_endpoint"]}"
127+
upstreamTimeout = "${var.haystack-console["upstreamTimeout"]}"
127128
healthcheckthreshold_trends_iteratorAgeSeconds = "${var.haystack-console["healthcheckthreshold_trends_iteratorAgeSeconds"]}"
128129
healthcheckthreshold_traces_iteratorAgeSeconds = "${var.haystack-console["healthcheckthreshold_traces_iteratorAgeSeconds"]}"
129130
healthcheckthreshold_service-graph_iteratorAgeSeconds = "${var.haystack-console["healthcheckthreshold_service-graph_iteratorAgeSeconds"]}"
130131
healthcheckthreshold_collector_iteratorAgeSeconds = "${var.haystack-console["healthcheckthreshold_collector_iteratorAgeSeconds"]}"
132+
healthcheckthreshold_k8sCluster_cpuUsage = "${var.haystack-console["healthcheckthreshold_k8sCluster_cpuUsage"]}"
133+
healthcheckthreshold_k8sCluster_memoryUsage = "${var.haystack-console["healthcheckthreshold_k8sCluster_memoryUsage"]}"
134+
healthcheckthreshold_kafka_cpuUsage = "${var.haystack-console["healthcheckthreshold_kafka_cpuUsage"]}"
131135
attributorAdditionalTags= "${var.haystack-console["attributorAdditionalTags"]}"
132136
replicas = "${var.haystack-console["console_instances"]}"
133137
namespace = "${var.k8s_app_namespace}"
@@ -256,3 +260,4 @@ module "haystack-attribution" {
256260
haystack_cluster_name ="${var.haystack_cluster_name}"
257261
haystack_domain_name="${var.domain_name}"
258262
}
263+

0 commit comments

Comments
 (0)