targetPort: ${SW_EXPORTER_GRPC_PORT:9870} health-checker: selector: ${SW_HEALTH_CHECKER:-} default: checkIntervalSeconds: ${SW_HEALTH_CHECKER_INTERVAL_SECONDS:5} 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. ...
targetPort: ${SW_EXPORTER_GRPC_PORT:9870} health-checker: selector: ${SW_HEALTH_CHECKER:-} default: checkIntervalSeconds: ${SW_HEALTH_CHECKER_INTERVAL_SECONDS:5} 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. ...
再次执行docker run创建skywalking-oap-server命令 docker run -d --name=oap -p 11800:11800 -p 12800:12800 --ulimit nofile=10240:10240 --link banyandb:banyandb -e SW_STORAGE=banyandb -e SW_STORAGE_BANYANDB_TARGETS=banyandb:17912 -e SW_HEALTH_CHECKER=default -e JAVA_OPTS="-Xms2048m -Xmx2048...
); } MetricsCreator metricCreator = getManager().find(TelemetryModule.NAME) .provider() .getService(MetricsCreator.class); HealthCheckMetrics healthChecker = metricCreator.createHealthCheckerGauge( "storage_h2", MetricsTag.EMPTY_KEY, MetricsTag.EMPTY_VALUE); h2Client.registerChecker(healthChecker); ...
SW_HEALTH_CHECKER:defaultSW_STORAGE:elasticsearchSW_STORAGE_ES_CLUSTER_NODES:elasticsearch:9200JAVA_OPTS:"-Xms2048m -Xmx2048m"TZ:Asia/ShanghaiSW_TELEMETRY:prometheushealthcheck:test:["CMD-SHELL","/skywalking/bin/swctl ch"]interval:30stimeout:10sretries:3start_period:10srestart:on-failureports:-"...
server-health-checker:服务健康检查 server-library:公共模块部分 server-query-plugin:这一块是对查询的处理,处理的是SKywalking前台发过来的查询请求 server-receiver-plugin:接收请求,包括Metrics、istio、jvm、mesh、trace等等插件,用来把数据写入Skywalking中 server-starter:这是OAP的starter启动模块 server-starter-es7...
registerChecker(healthChecker); try { //开启连接 elasticSearch7Client.connect(); //完成es在OAP端的安装(因为要区分es6和es7),所以就做了这么一个模块 StorageEs7Installer installer = new StorageEs7Installer(elasticSearch7Client, getManager(), config); getManager().find(CoreModule.NAME).provider()....
12800" healthcheck: test: [ "CMD-SHELL", "/skywalking/bin/swctl ch" ] interval: 30s timeout: 10s retries: 3 start_period: 10s environment: SW_STORAGE: elasticsearch7 SW_STORAGE_ES_CLUSTER_NODES: es7:9200 SW_HEALTH_CHECKER: default TZ: Asia/Shanghai SW_TELEMETRY: prometheus JAVA_OPTS:...
es6container_name:oapdepends_on:-elasticsearchlinks:-elasticsearchrestart:alwaysports:-11800:11800-12800:12800-1234:1234environment:SW_STORAGE:elasticsearchSW_STORAGE_ES_CLUSTER_NODES:elasticsearch:9200SW_HEALTH_CHECKER:defaultSW_TELEMETRY:prometheusTZ:Asia/Shanghaihealthcheck:test:["CMD","./bin/swctl",...
health-checker: http://${HTTP_HOST}:${HTTP_PORT}/health start-script: ./bin/startup.sh framework: github.com/gogf/gf export-port: 8080 support-version: - go: 1.18 huicunjun marked this conversation as resolved. Show resolved - go: 1.19 - go: 1.20 - go: 1.21 - go: 1.22 - ...