Skip to content

Commit fc486fe

Browse files
author
Jason Bulicek
authored
Merge pull request #844 from ExpediaDotCom/ns_add
adding missing variables
2 parents 405803d + 20b5be4 commit fc486fe

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ variable "haystack-console" {
240240
console_memory_request = "1000"
241241
console_memory_limit = "1000"
242242
console_jvm_memory_limit = "768"
243+
upstreamTimeout = 20000
244+
healthcheckthreshold_k8sCluster_cpuUsage = "0.9"
245+
healthcheckthreshold_k8sCluster_memoryUsage = "0.9"
246+
healthcheckthreshold_kafka_cpuUsage = "0.9"
243247
healthcheckthreshold_trends_iteratorAgeSeconds = "300"
244248
healthcheckthreshold_traces_iteratorAgeSeconds = "300"
245249
healthcheckthreshold_service-graph_iteratorAgeSeconds = "300"
@@ -384,6 +388,13 @@ variable "modelservice" {
384388
detector_mapper_index_name=""
385389
detector_index_name=""
386390
detector_mapper_es_config_aws_iam_auth_required=""
391+
modelservice_tracing_apikey=""
392+
haystack_collector_endpoint=""
393+
modelservice_tracing_clientid=""
394+
haystack_tracer_shutdown_timeout=""
395+
haystack_tracer_flush_interval=""
396+
haystack_tracer_thread_count=""
397+
haystack_tracer_queue_size=""
387398
}
388399
}
389400

@@ -439,6 +450,14 @@ variable "ad-manager" {
439450
metric_consumer_group_id=""
440451
anomaly_producer_breakout_topic=""
441452
throttle_gate_likelihood=""
453+
ad_manager_tracing_clientid=""
454+
tracing_status=""
455+
haystack_tracer_shutdown_timeout=""
456+
haystack_collector_endpoint=""
457+
haystack_tracer_flush_interval=""
458+
ad_manager_tracing_apikey=""
459+
haystack_tracer_thread_count=""
460+
haystack_tracer_queue_size=""
442461
}
443462
}
444463

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)