-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathwaggledance.json
More file actions
123 lines (123 loc) · 2.69 KB
/
waggledance.json
File metadata and controls
123 lines (123 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[
{
"name": "waggledance",
"image": "${docker_image}:${docker_version}",
${docker_auth}
"essential": true,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${loggroup}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "/"
}
},
"dockerLabels": {
"com.datadoghq.ad.instances": "[{\"openmetrics_endpoint\": \"http://%%host%%:18000/actuator/prometheus\", \"namespace\": \"waggledance\", \"metrics\": [\"metastore_status\",\"counter_*\",\"jvm_*\",\"system_*\",\"timer_*\",\"http_*\",\"process_*\"], \"tags\": { \"region\":\"${region}\", \"instance_type\":\"${wd_instance_type}\"} }]",
"com.datadoghq.ad.check_names": "[\"openmetrics\"]",
"com.datadoghq.ad.init_configs": "[{}]"
},
"portMappings": [
{
"containerPort": 48869,
"hostPort": 48869
}
],
"environment": [
{
"name": "HEAPSIZE",
"value": "${heapsize}"
},
{
"name": "LOGLEVEL",
"value": "${loglevel}"
},
{
"name": "INVOCATIONLOGLEVEL",
"value": "${invocationloglevel}"
},
{
"name": "SERVER_YAML",
"value": "${server_yaml}"
},
{
"name": "FEDERATION_YAML",
"value": "${federation_yaml}"
},
{
"name": "HIVE_SITE_XML",
"value": "${hive_site_xml}"
},
{
"name": "BASTION_SSH_KEY_ARN",
"value": "${bastion_ssh_key_arn}"
},
{
"name": "LOG4J_FORMAT_MSG_NO_LOOKUPS",
"value": "true"
}
],
"healthCheck": {
"command": ["CMD-SHELL", "curl -f http://localhost:18000/actuator/health || exit 1"],
"interval": 5,
"retries": 3,
"startPeriod": 60,
"timeout": 5
},
"ulimits": [
{
"name": "nofile",
"softLimit": 65536,
"hardLimit": 65536
},
{
"name": "nproc",
"softLimit": 65536,
"hardLimit": 65536
}
],
"systemControls": [
{
"namespace": "net.ipv4.tcp_keepalive_time",
"value": "${tcp_keepalive_time}"
},
{
"namespace": "net.ipv4.tcp_keepalive_intvl",
"value": "${tcp_keepalive_intvl}"
},
{
"namespace": "net.ipv4.tcp_keepalive_probes",
"value": "${tcp_keepalive_probes}"
}
]
}
%{ if include_datadog_agent }
,{
"name": "datadog-agent",
"image": "public.ecr.aws/datadog/agent:${datadog_agent_version}",
"essential": true,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${loggroup}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "/"
}
},
"environment": [
{
"name": "DD_API_KEY",
"value": "${datadog_secret_key}"
},
{
"name": "ECS_FARGATE",
"value": "true"
},
{
"name": "DD_TAGS",
"value": "${datadog_tags}"
}
]
}
%{ endif }
]