0.1.0 • Published 4 years ago

ng-zipkin v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Zipkin Tracing

Zero dependency Zipkin Tracing Module. Works out of the box, just install and import module to Angular application.

Based on packages:

Usage

Import ZipkinTracingModule into your Module. E.g:

[
    ...,
    ZipkinTracingModule.forRoot(),
    ...
]

Your app should already have RouterModule and HttpClientModule.

With this configuration you're all set. By default, it tries to reach Zipkin on address: http://localhost:9411 with service name : browser.

If you need change configuration of tracer, just use ZipkinConfig argument of forRoot method . E.g:

ZipkinTracingModule.forRoot({debug: true, localServiceName: 'angular'})

Options of ZipkinProvider E.g:

interface ZipkinConfig {
  localServiceName?: string;
  remoteServiceMapping?: { [remoteServiceName: string]: string | RegExp; };
  debug?: boolean;
  sample?: (traceId: TraceId) => boolean;
  defaultTags?: { [name: string]: string; };
  zipkinBaseUrl?: string;
  zipkinConfig?: HttpConfigOptions;
}

Module is in alpha stage. Some of the logic may change.

Info

This library was build with @angular-devkit/build-ng-packagr version 0.901.6.

0.1.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago