File tree Expand file tree Collapse file tree 6 files changed +14
-20
lines changed Expand file tree Collapse file tree 6 files changed +14
-20
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const {
19
19
cpuMetric,
20
20
memoryMetric,
21
21
cTimeMetric,
22
- } = process . env . HF_VAR_ENABLE_OTEL === "1" ? require ( './metrics-definition' ) : { } ;
22
+ } = require ( './metrics-definition' ) ;
23
23
24
24
const {
25
25
procfs,
Original file line number Diff line number Diff line change 1
- const meter = process . env . HF_VAR_ENABLE_OTEL === "1" ? require ( "./metrics.js" ) ( "hyperflow-job-executor" ) : undefined ;
1
+ const meter = process . env . HF_VAR_ENABLE_TRACING === "1" ? require ( "./metrics.js" ) ( "hyperflow-job-executor" ) : undefined ;
2
2
3
3
4
4
const cpuMetric = meter . createObservableGauge ( 'cpu-usage' , {
Original file line number Diff line number Diff line change @@ -20,13 +20,12 @@ services:
20
20
container_name : opensearch
21
21
environment :
22
22
- cluster.name=opensearch-cluster
23
- - node.name=opensearch
23
+ - node.name=opensearc
24
24
- discovery.seed_hosts=opensearch
25
25
- cluster.initial_cluster_manager_nodes=opensearch
26
26
- bootstrap.memory_lock=true
27
27
- " OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
28
28
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=Hyperflow1!
29
- - plugins.security.disabled=true
30
29
ulimits :
31
30
memlock :
32
31
soft : -1
@@ -49,8 +48,7 @@ services:
49
48
expose :
50
49
- " 5601"
51
50
environment :
52
- OPENSEARCH_HOSTS : ' ["http://opensearch:9200"]'
53
- DISABLE_SECURITY_DASHBOARDS_PLUGIN : " true"
51
+ OPENSEARCH_HOSTS : ' ["https://opensearch:9200"]'
54
52
networks :
55
53
- backend
56
54
data-prepper :
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ exporters:
25
25
insecure : true
26
26
insecure_skip_verify : true
27
27
28
+ logging :
29
+ verbosity : detailed
30
+
31
+
28
32
service :
29
33
pipelines :
30
34
traces :
@@ -37,5 +41,5 @@ service:
37
41
exporters : [otlp/metrics]
38
42
logs :
39
43
receivers : [otlp]
40
- exporters : [otlp/logs]
44
+ exporters : [logging, otlp/logs]
41
45
Original file line number Diff line number Diff line change @@ -16,13 +16,12 @@ raw-pipeline:
16
16
- otel_trace_raw :
17
17
sink :
18
18
- opensearch :
19
- hosts : ["http ://opensearch:9200"]
19
+ hosts : ["https ://opensearch:9200"]
20
20
insecure : true
21
21
username : admin
22
22
password : " Hyperflow1!"
23
23
index_type : custom
24
24
index : hyperflow_traces
25
- ssl : false
26
25
service-map-pipeline :
27
26
delay : " 100"
28
27
source :
@@ -32,12 +31,11 @@ service-map-pipeline:
32
31
- service_map_stateful :
33
32
sink :
34
33
- opensearch :
35
- hosts : ["http ://opensearch:9200"]
34
+ hosts : ["https ://opensearch:9200"]
36
35
insecure : true
37
36
username : admin
38
37
password : " Hyperflow1!"
39
38
index_type : trace-analytics-service-map
40
- ssl : false
41
39
42
40
43
41
metrics-pipeline :
@@ -46,24 +44,22 @@ metrics-pipeline:
46
44
ssl : false
47
45
sink :
48
46
- opensearch :
49
- hosts : ["http ://opensearch:9200"]
47
+ hosts : ["https ://opensearch:9200"]
50
48
insecure : true
51
49
username : admin
52
50
password : " Hyperflow1!"
53
51
index_type : custom
54
52
index : hyperflow_metrics
55
- ssl : false
56
53
57
54
logs-pipeline :
58
55
source :
59
56
otel_logs_source :
60
57
ssl : false
61
58
sink :
62
59
- opensearch :
63
- hosts : ["http ://opensearch:9200"]
60
+ hosts : ["https ://opensearch:9200"]
64
61
insecure : true
65
62
username : admin
66
63
password : " Hyperflow1!"
67
64
index : hyperflow_logs
68
- ssl : false
69
65
Original file line number Diff line number Diff line change 15
15
" connector.js" ,
16
16
" handler.js" ,
17
17
" jobexec.js" ,
18
- " hflow-job-listener.js" ,
19
- " logs.js" ,
20
- " metrics.js" ,
21
- " metrics-definition.js" ,
22
- " tracing.js"
18
+ " hflow-job-listener.js"
23
19
],
24
20
"dependencies" : {
25
21
"@opentelemetry/api" : " ^1.9.0" ,
You can’t perform that action at this time.
0 commit comments