Custom Layout Factory for Zipkin Modules
Zipkin Layout Factory is an assembly that allows extensions, such as custom collectors or storage implementations.
This repository includes a spring-boot-plugin layout which creates artifacts of type module. spring-boot servers can load these using PropertiesLoader.
This plugin uses the Spring Boot's CustomLayout Factory implementation.
Usage
Include Spring boot maven plugin and modify the build task like below.
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.4.0</version>
<configuration>
<layoutFactory implementation="zipkin.layout.ZipkinLayoutFactory">
<name>zipkin</name>
</layoutFactory>
</configuration>
<dependencies>
<dependency>
<groupId>io.zipkin.layout</groupId>
<artifactId>zipkin-layout-factory</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>
</plugin>
Artifacts
The artifact published is zipkin-layout-factory
under the group ID io.zipkin.layout
Library Releases
Releases are at Sonatype and Maven Central
Library Snapshots
Snapshots are uploaded to Sonatype after commits to master.