File tree Expand file tree Collapse file tree 3 files changed +25
-8
lines changed
Expand file tree Collapse file tree 3 files changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ NLTK_DATA=/opt/models/nltk_data
2626ELASTICSEARCH_HOST = http://nexent-elasticsearch:9200
2727ELASTIC_PASSWORD = nexent@2025
2828
29+ # Elasticsearch Memory Configuration
30+ ES_JAVA_OPTS = " -Xms1g -Xmx1g"
31+
32+ # Elasticsearch Disk Watermark Configuration
33+ ES_DISK_WATERMARK_LOW = 85%
34+ ES_DISK_WATERMARK_HIGH = 90%
35+ ES_DISK_WATERMARK_FLOOD_STAGE = 95%
36+
2937# Main Services
3038ELASTICSEARCH_SERVICE = http://nexent:5010/api
3139NEXENT_MCP_SERVER = http://nexent:5011
@@ -124,3 +132,12 @@ QUEUES=process_q,forward_q
124132WORKER_NAME =
125133WORKER_CONCURRENCY = 4
126134
135+
136+ # Telemetry and Monitoring Configuration
137+ ENABLE_TELEMETRY = false
138+ SERVICE_NAME = nexent-backend
139+ JAEGER_ENDPOINT = http://localhost:14268/api/traces
140+ PROMETHEUS_PORT = 8000
141+ TELEMETRY_SAMPLE_RATE = 1.0
142+ LLM_SLOW_REQUEST_THRESHOLD_SECONDS = 5.0
143+ LLM_SLOW_TOKEN_RATE_THRESHOLD = 10.0
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ services:
2323 xpack.security.http.ssl.enabled : " false"
2424 xpack.security.transport.ssl.enabled : " false"
2525 # JVM memory settings
26- ES_JAVA_OPTS : -Xms1g -Xmx1g
26+ ES_JAVA_OPTS : ${ES_JAVA_OPTS}
2727 # Node name
2828 node.name : es01
2929 # Memory lock setting
3030 bootstrap.memory_lock : " false"
3131 # Disk watermark settings
32- cluster.routing.allocation.disk.watermark.low : " 5gb "
33- cluster.routing.allocation.disk.watermark.high : " 3gb "
34- cluster.routing.allocation.disk.watermark.flood_stage : " 2gb "
32+ cluster.routing.allocation.disk.watermark.low : " ${ES_DISK_WATERMARK_LOW} "
33+ cluster.routing.allocation.disk.watermark.high : " ${ES_DISK_WATERMARK_HIGH} "
34+ cluster.routing.allocation.disk.watermark.flood_stage : " ${ES_DISK_WATERMARK_FLOOD_STAGE} "
3535 volumes :
3636 - ${ROOT_DIR}/elasticsearch:/usr/share/elasticsearch/data
3737 networks :
Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ services:
2323 xpack.security.http.ssl.enabled : " false"
2424 xpack.security.transport.ssl.enabled : " false"
2525 # JVM memory settings
26- ES_JAVA_OPTS : -Xms1g -Xmx1g
26+ ES_JAVA_OPTS : ${ES_JAVA_OPTS}
2727 # Node name
2828 node.name : es01
2929 # Memory lock setting
3030 bootstrap.memory_lock : " false"
3131 # Disk watermark settings
32- cluster.routing.allocation.disk.watermark.low : " 5gb "
33- cluster.routing.allocation.disk.watermark.high : " 3gb "
34- cluster.routing.allocation.disk.watermark.flood_stage : " 2gb "
32+ cluster.routing.allocation.disk.watermark.low : " ${ES_DISK_WATERMARK_LOW} "
33+ cluster.routing.allocation.disk.watermark.high : " ${ES_DISK_WATERMARK_HIGH} "
34+ cluster.routing.allocation.disk.watermark.flood_stage : " ${ES_DISK_WATERMARK_FLOOD_STAGE} "
3535 volumes :
3636 - ${ROOT_DIR}/elasticsearch:/usr/share/elasticsearch/data
3737 ports :
You canβt perform that action at this time.
0 commit comments