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 {
1919 cpuMetric,
2020 memoryMetric,
2121 cTimeMetric,
22- } = process . env . HF_VAR_ENABLE_OTEL === "1" ? require ( './metrics-definition' ) : { } ;
22+ } = require ( './metrics-definition' ) ;
2323
2424const {
2525 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 ;
22
33
44const cpuMetric = meter . createObservableGauge ( 'cpu-usage' , {
Original file line number Diff line number Diff line change @@ -20,13 +20,12 @@ services:
2020 container_name : opensearch
2121 environment :
2222 - cluster.name=opensearch-cluster
23- - node.name=opensearch
23+ - node.name=opensearc
2424 - discovery.seed_hosts=opensearch
2525 - cluster.initial_cluster_manager_nodes=opensearch
2626 - bootstrap.memory_lock=true
2727 - " OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
2828 - OPENSEARCH_INITIAL_ADMIN_PASSWORD=Hyperflow1!
29- - plugins.security.disabled=true
3029 ulimits :
3130 memlock :
3231 soft : -1
@@ -49,8 +48,7 @@ services:
4948 expose :
5049 - " 5601"
5150 environment :
52- OPENSEARCH_HOSTS : ' ["http://opensearch:9200"]'
53- DISABLE_SECURITY_DASHBOARDS_PLUGIN : " true"
51+ OPENSEARCH_HOSTS : ' ["https://opensearch:9200"]'
5452 networks :
5553 - backend
5654 data-prepper :
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ exporters:
2525 insecure : true
2626 insecure_skip_verify : true
2727
28+ logging :
29+ verbosity : detailed
30+
31+
2832service :
2933 pipelines :
3034 traces :
@@ -37,5 +41,5 @@ service:
3741 exporters : [otlp/metrics]
3842 logs :
3943 receivers : [otlp]
40- exporters : [otlp/logs]
44+ exporters : [logging, otlp/logs]
4145
Original file line number Diff line number Diff line change @@ -16,13 +16,12 @@ raw-pipeline:
1616 - otel_trace_raw :
1717 sink :
1818 - opensearch :
19- hosts : ["http ://opensearch:9200"]
19+ hosts : ["https ://opensearch:9200"]
2020 insecure : true
2121 username : admin
2222 password : " Hyperflow1!"
2323 index_type : custom
2424 index : hyperflow_traces
25- ssl : false
2625service-map-pipeline :
2726 delay : " 100"
2827 source :
@@ -32,12 +31,11 @@ service-map-pipeline:
3231 - service_map_stateful :
3332 sink :
3433 - opensearch :
35- hosts : ["http ://opensearch:9200"]
34+ hosts : ["https ://opensearch:9200"]
3635 insecure : true
3736 username : admin
3837 password : " Hyperflow1!"
3938 index_type : trace-analytics-service-map
40- ssl : false
4139
4240
4341metrics-pipeline :
@@ -46,24 +44,22 @@ metrics-pipeline:
4644 ssl : false
4745 sink :
4846 - opensearch :
49- hosts : ["http ://opensearch:9200"]
47+ hosts : ["https ://opensearch:9200"]
5048 insecure : true
5149 username : admin
5250 password : " Hyperflow1!"
5351 index_type : custom
5452 index : hyperflow_metrics
55- ssl : false
5653
5754logs-pipeline :
5855 source :
5956 otel_logs_source :
6057 ssl : false
6158 sink :
6259 - opensearch :
63- hosts : ["http ://opensearch:9200"]
60+ hosts : ["https ://opensearch:9200"]
6461 insecure : true
6562 username : admin
6663 password : " Hyperflow1!"
6764 index : hyperflow_logs
68- ssl : false
6965
Original file line number Diff line number Diff line change 1515 " connector.js" ,
1616 " handler.js" ,
1717 " 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"
2319 ],
2420 "dependencies" : {
2521 "@opentelemetry/api" : " ^1.9.0" ,
You can’t perform that action at this time.
0 commit comments