https://github.com/openzipkin-contrib/play-zipkin-tracing
Provides distributed tracing for Play Framework and Akka using Zipkin.
https://github.com/openzipkin-contrib/play-zipkin-tracing
akka distributed-tracing instrumentation microservices play scala tracing zipkin zipkin-brave
Last synced: about 1 month ago
JSON representation
Provides distributed tracing for Play Framework and Akka using Zipkin.
- Host: GitHub
- URL: https://github.com/openzipkin-contrib/play-zipkin-tracing
- Owner: openzipkin-contrib
- License: apache-2.0
- Created: 2017-02-09T08:28:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T12:08:02.000Z (over 4 years ago)
- Last Synced: 2025-03-31T11:51:06.829Z (2 months ago)
- Topics: akka, distributed-tracing, instrumentation, microservices, play, scala, tracing, zipkin, zipkin-brave
- Language: Scala
- Homepage:
- Size: 790 KB
- Stars: 47
- Watchers: 27
- Forks: 19
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# play-zipkin-tracing
[](https://gitter.im/openzipkin/zipkin)
[](https://github.com/openzipkin-contrib/play-zipkin-tracing/actions?query=workflow%3Atest)
[](https://search.maven.org/search?q=g:io.zipkin.brave.play%20AND%20a:play-zipkin-tracing-play_2.12)Provides distributed tracing for Play Framework using [Zipkin](https://zipkin.io/). It makes possible to trace HTTP calls between Play based microservices easily without performance degradation.
## Supported versions
- [Akka 2.5.x](akka/README.md) (Zipkin1 and Zipkin2 support are available)
- [Play 2.7](play/README.md) (Zipkin1 and Zipkin2 support are available)## Sample projects
- [zipkin-akka-actor](sample/zipkin-akka-actor) (Zipkin2)
- [zipkin-api-play27](sample/zipkin-api-play27) (Zipkin2)### How to run sample projects
1. Start Zipkin
```bash
$ curl -sSL https://zipkin.io/quickstart.sh | bash -s
$ java -jar zipkin.jar
```2. Run zipkin-api-play27 project
```bash
$ cd sample/zipkin-api-play27
$ sbt run
```3. Run zipkin-api-play24 project
```bash
$ git checkout 1.2.0 -- sample/zipkin-api-play24
$ cd sample/zipkin-api-play24
$ sbt run
```4. Hit http://localhost:9991/nest in some way
```bash
$ curl http://localhost:9991/nest
```Then you can see traced data on Zipkin UI (http://localhost:9411/zipkin) as:

## Artifacts
All artifacts publish to the group ID "io.zipkin.brave.play". We use a common release version for
all components.### Library Releases
Releases are at [Sonatype](https://oss.sonatype.org/content/repositories/releases) and [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.zipkin.brave.play%22)### Library Snapshots
Snapshots are uploaded to [Sonatype](https://oss.sonatype.org/content/repositories/snapshots) after
commits to master.