Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.97 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.97 KB

Custom Layout Factory for Zipkin Modules

Gitter chat Build Status Maven Central

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.