chore: tracing update

This commit is contained in:
BryantHe 2023-07-13 12:13:38 +08:00
parent e1841e80f2
commit 383e7d169b
2 changed files with 61 additions and 2 deletions

View File

@ -11,6 +11,8 @@ chassis 微服务基座依赖的服务
- Metrics Server - Metrics Server
- Prometheus - Prometheus
- Grafana - Grafana
- Tracing
- Skywalking
- Logging - Logging
- Elasticsearch - Elasticsearch
- Logstash - Logstash
@ -97,8 +99,6 @@ requirements
## TODO ## TODO
- Tracing
- Skywalking
- Prometheus Exporter - Prometheus Exporter
- rabbitmq_exporter - rabbitmq_exporter
- node_exporter - node_exporter

View File

@ -0,0 +1,59 @@
version: '3.8'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.4.2
container_name: elasticsearch
ports:
- "9200:9200"
healthcheck:
test: [ "CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
oap:
image: skywalking/oap:latest
container_name: oap
depends_on:
elasticsearch:
condition: service_healthy
links:
- elasticsearch
ports:
- "11800:11800"
- "12800:12800"
healthcheck:
test: [ "CMD-SHELL", "/skywalking/bin/swctl ch" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
environment:
SW_STORAGE: elasticsearch
SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200
SW_HEALTH_CHECKER: default
SW_TELEMETRY: prometheus
JAVA_OPTS: "-Xms2048m -Xmx2048m"
ui:
image: skywalking/ui:latest
container_name: ui
depends_on:
oap:
condition: service_healthy
links:
- oap
ports:
- "8080:8080"
environment:
SW_OAP_ADDRESS: http://oap:12800
SW_ZIPKIN_ADDRESS: http://oap:9412