tree: 8055c762b0f54d37bbfc05abb97d8eac3cd73916 [path history] [tgz]
  1. docker/
  2. gen/
  3. proto/
  4. buf.gen.yaml
  5. client.ts
  6. dubbo.ts
  7. package.json
  8. README.md
  9. server.ts
example/dubbo-observable-example/README.md

启动步骤

  1. 启动服务提供者
npx tsx server.ts
  1. 启动服务消费者
npx tsx client.ts
  1. 请求服务

curl localhost:8081/
  1. 获取服务提供者监控指标
curl http://localhost:9464/metrics
  1. 获取服务消费者监控指标
curl http://localhost:9465/metrics