1 Star 0 Fork 2

nie/vertx-examples

forked from githubsync/vertx-examples 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.adoc 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
Julien Viet 提交于 2020-12-08 18:00 +08:00 . Zipkin examples

Vert.x Zipkin example

Here you will find examples demonstrating Vert.x Zipkin in action.

Please consult the Vert.x Zipkin manual for the detailed documentation.

Microservices

This example shows a couple of simple microservices monitored with Vert.x Zipkin

Joke service

The Joke service provides an HTTP microservice for jokes stored in a PostgreSQL.

The HTTP server and the database client contribute traces.

You can query this service with curl:

> curl http://localhost:8082

Hello service

The Hello service provides an HTTP microservice for saying hello. This service uses the Joke service to tell the user a joke.

The HTTP server and the HTTP client contribute traces.

You can query this service with curl:

> curl http://localhost:8081

Gateway

The Gateway is a simple HTTP gateway that exposes both Joke and Hello services.

The HTTP server and the HTTP client contribute traces.

You can query this service with curl:

> curl http://localhost:8080/hello
> curl http://localhost:8080/joke

Zipkin

You need to start an Zipkin server

> docker run -d -p 9411:9411 openzipkin/zipkin

Jaeger provides a visual console

zipkin

You can run the Hello, Joke and Gateway services in your IDE with Zipkin Example

Or you can start them separately:

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jhnie/vertx-examples.git
git@gitee.com:jhnie/vertx-examples.git
jhnie
vertx-examples
vertx-examples
4.x

搜索帮助