@opentelemetry/exporter-zipkin
OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.
Last updated a year ago by dyladan .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @opentelemetry/exporter-zipkin 
SYNC missed versions from official npm registry.

OpenTelemetry Zipkin Trace Exporter

NPM Published Version Apache License

OpenTelemetry Zipkin Trace Exporter allows the user to send collected traces to Zipkin.

Zipkin is a distributed tracing system. It helps gather timing data needed to troubleshoot latency problems in microservice architectures. It manages both the collection and lookup of this data.

Installation

npm install --save @opentelemetry/exporter-zipkin

Usage in Node and Browser

Install the exporter on your application and pass the options. serviceName is an optional string. If omitted, the exporter will first try to get the service name from the Resource. If no service name can be detected on the Resource, a fallback name of "OpenTelemetry Service" will be used.

const { ZipkinExporter } = require('@opentelemetry/exporter-zipkin');

// Add your zipkin url (`http://localhost:9411/api/v2/spans` is used as
// default) and application name to the Zipkin options.
// You can also define your custom headers which will be added automatically.
const options = {
  headers: {
    'my-header': 'header-value',
  },
  url: 'your-zipkin-url',
  // optional interceptor
  getExportRequestHeaders: () => {
    return {
      'my-header': 'header-value',
    }
  }
}
const exporter = new ZipkinExporter(options);

Now, register the exporter and start tracing.

tracer.addSpanProcessor(new BatchSpanProcessor(exporter));

You can use built-in SimpleSpanProcessor or BatchSpanProcessor or write your own.

  • SimpleSpanProcessor: The implementation of SpanProcessor that passes ended span directly to the configured SpanExporter.
  • BatchSpanProcessor: The implementation of the SpanProcessor that batches ended spans and pushes them to the configured SpanExporter. It is recommended to use this SpanProcessor for better performance and optimization.

Options

  • getExportRequestHeaders - optional interceptor that allows adding new headers every time time the exporter is going to send spans. This is optional and can be used if headers are changing over time. This is a sync callback.

Viewing your traces

Please visit the Zipkin UI endpoint http://localhost:9411

Useful links

License

Apache 2.0 - See LICENSE for more information.

Current Tags

  • 0.25.1-alpha.23                                ...           canary (3 years ago)
  • 1.26.0                                ...           latest (3 months ago)
  • 1.8.0                                ...           next (2 years ago)

206 Versions

  • 1.26.0                                ...           3 months ago
  • 1.25.1                                ...           5 months ago
  • 1.25.0                                ...           5 months ago
  • 1.24.1                                ...           6 months ago
  • 1.24.0                                ...           7 months ago
  • 1.23.0                                ...           7 months ago
  • 1.22.0                                ...           9 months ago
  • 1.21.0                                ...           10 months ago
  • 1.20.0                                ...           10 months ago
  • 1.19.0                                ...           a year ago
  • 1.18.1                                ...           a year ago
  • 1.18.0                                ...           a year ago
  • 1.17.1                                ...           a year ago
  • 1.17.0                                ...           a year ago
  • 1.16.0                                ...           a year ago
  • 1.15.2                                ...           a year ago
  • 1.15.1                                ...           a year ago
  • 1.15.0                                ...           a year ago
  • 1.14.0                                ...           a year ago
  • 1.13.0                                ...           2 years ago
  • 1.12.0                                ...           2 years ago
  • 1.11.0                                ...           2 years ago
  • 1.10.1                                ...           2 years ago
  • 1.10.0                                ...           2 years ago
  • 1.9.1                                ...           2 years ago
  • 1.9.0                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.26.0                                ...           3 years ago
  • 0.25.1-alpha.23                                ...           3 years ago
  • 0.25.1-alpha.16                                ...           3 years ago
  • 0.25.1-alpha.15                                ...           3 years ago
  • 0.25.1-alpha.13                                ...           3 years ago
  • 0.25.1-alpha.12                                ...           3 years ago
  • 0.25.1-alpha.7                                ...           3 years ago
  • 0.25.1-alpha.4                                ...           3 years ago
  • 0.25.1-alpha.2                                ...           3 years ago
  • 0.25.0                                ...           3 years ago
  • 0.25.1-alpha.21                                ...           3 years ago
  • 0.24.1-alpha.20                                ...           3 years ago
  • 0.24.1-alpha.19                                ...           3 years ago
  • 0.24.1-alpha.18                                ...           3 years ago
  • 0.24.1-alpha.15                                ...           3 years ago
  • 0.24.1-alpha.14                                ...           3 years ago
  • 0.24.1-alpha.9                                ...           3 years ago
  • 0.24.1-alpha.8                                ...           3 years ago
  • 0.24.1-alpha.7                                ...           3 years ago
  • 0.24.1-alpha.5                                ...           3 years ago
  • 0.24.1-alpha.4                                ...           3 years ago
  • 0.24.1-alpha.1                                ...           3 years ago
  • 0.24.0                                ...           3 years ago
  • 0.24.1-alpha.31                                ...           3 years ago
  • 0.23.1-alpha.28                                ...           3 years ago
  • 0.23.1-alpha.24                                ...           3 years ago
  • 0.23.1-alpha.23                                ...           3 years ago
  • 0.23.1-alpha.15                                ...           3 years ago
  • 0.23.1-alpha.3                                ...           3 years ago
  • 0.23.1-alpha.18                                ...           3 years ago
  • 0.23.0                                ...           3 years ago
  • 0.23.1-alpha.17                                ...           3 years ago
  • 0.22.1-alpha.16                                ...           3 years ago
  • 0.22.1-alpha.15                                ...           3 years ago
  • 0.22.1-alpha.13                                ...           3 years ago
  • 0.22.1-alpha.4                                ...           3 years ago
  • 0.22.1-alpha.3                                ...           3 years ago
  • 0.22.1-alpha.2                                ...           3 years ago
  • 0.22.0                                ...           3 years ago
  • 0.22.1-alpha.5                                ...           3 years ago
  • 0.21.1-alpha.3                                ...           3 years ago
  • 0.21.1-alpha.2                                ...           3 years ago
  • 0.21.1-alpha.1                                ...           3 years ago
  • 0.21.0                                ...           3 years ago
  • 0.21.1-alpha.7                                ...           3 years ago
  • 0.20.1-alpha.4                                ...           3 years ago
  • 0.20.1-alpha.3                                ...           3 years ago
  • 0.20.0                                ...           3 years ago
  • 0.20.1-alpha.49                                ...           3 years ago
  • 0.19.1-alpha.44                                ...           3 years ago
  • 0.19.1-alpha.43                                ...           3 years ago
  • 0.19.1-alpha.41                                ...           3 years ago
  • 0.19.1-alpha.33                                ...           3 years ago
  • 0.19.1-alpha.31                                ...           3 years ago
  • 0.19.1-alpha.29                                ...           4 years ago
  • 0.19.1-alpha.28                                ...           4 years ago
  • 0.19.1-alpha.27                                ...           4 years ago
  • 0.19.1-alpha.26                                ...           4 years ago
  • 0.19.1-alpha.25                                ...           4 years ago
  • 0.19.1-alpha.23                                ...           4 years ago
  • 0.19.1-alpha.21                                ...           4 years ago
  • 0.19.1-alpha.19                                ...           4 years ago
  • 0.19.1-alpha.14                                ...           4 years ago
  • 0.19.1-alpha.13                                ...           4 years ago
  • 0.19.1-alpha.12                                ...           4 years ago
  • 0.19.1-alpha.11                                ...           4 years ago
  • 0.19.1-alpha.9                                ...           4 years ago
  • 0.19.1-alpha.7                                ...           4 years ago
  • 0.19.1-alpha.39                                ...           4 years ago
  • 0.19.1-alpha.37                                ...           4 years ago
  • 0.19.0                                ...           4 years ago
  • 0.19.1-alpha.36                                ...           4 years ago
  • 0.18.3-alpha.31                                ...           4 years ago
  • 0.18.3-alpha.30                                ...           4 years ago
  • 0.18.3-alpha.29                                ...           4 years ago
  • 0.18.3-alpha.28                                ...           4 years ago
  • 0.18.3-alpha.27                                ...           4 years ago
  • 0.18.3-alpha.26                                ...           4 years ago
  • 0.18.3-alpha.25                                ...           4 years ago
  • 0.18.3-alpha.23                                ...           4 years ago
  • 0.18.3-alpha.20                                ...           4 years ago
  • 0.18.3-alpha.18                                ...           4 years ago
  • 0.18.3-alpha.17                                ...           4 years ago
  • 0.18.3-alpha.16                                ...           4 years ago
  • 0.18.3-alpha.14                                ...           4 years ago
  • 0.18.3-alpha.11                                ...           4 years ago
  • 0.18.3-alpha.10                                ...           4 years ago
  • 0.18.3-alpha.9                                ...           4 years ago
  • 0.18.3-alpha.7                                ...           4 years ago
  • 0.18.3-alpha.5                                ...           4 years ago
  • 0.18.3-alpha.4                                ...           4 years ago
  • 0.18.3-alpha.3                                ...           4 years ago
  • 0.18.3-alpha.1                                ...           4 years ago
  • 0.18.2                                ...           4 years ago
  • 0.18.3-alpha.2                                ...           4 years ago
  • 0.18.2-alpha.1                                ...           4 years ago
  • 0.18.1                                ...           4 years ago
  • 0.18.2-alpha.81                                ...           4 years ago
  • 0.18.1-alpha.26                                ...           4 years ago
  • 0.18.1-alpha.24                                ...           4 years ago
  • 0.18.1-alpha.23                                ...           4 years ago
  • 0.18.1-alpha.21                                ...           4 years ago
  • 0.18.1-alpha.20                                ...           4 years ago
  • 0.18.1-alpha.19                                ...           4 years ago
  • 0.18.1-alpha.16                                ...           4 years ago
  • 0.18.1-alpha.13                                ...           4 years ago
  • 0.18.1-alpha.3                                ...           4 years ago
  • 0.18.0                                ...           4 years ago
  • 0.18.1-alpha.12                                ...           4 years ago
  • 0.17.1-alpha.11                                ...           4 years ago
  • 0.17.1-alpha.10                                ...           4 years ago
  • 0.17.1-alpha.8                                ...           4 years ago
  • 0.17.1-alpha.5                                ...           4 years ago
  • 0.17.1-alpha.2                                ...           4 years ago
  • 0.17.1-alpha.21                                ...           4 years ago
  • 0.17.0                                ...           4 years ago
  • 0.16.1-alpha.20                                ...           4 years ago
  • 0.16.1-alpha.18                                ...           4 years ago
  • 0.16.1-alpha.15                                ...           4 years ago
  • 0.16.1-alpha.14                                ...           4 years ago
  • 0.16.1-alpha.12                                ...           4 years ago
  • 0.16.1-alpha.11                                ...           4 years ago
  • 0.16.1-alpha.10                                ...           4 years ago
  • 0.16.0                                ...           4 years ago
  • 0.15.0                                ...           4 years ago
  • 0.14.0                                ...           4 years ago
  • 0.13.0                                ...           4 years ago
  • 0.12.1-alpha.7                                ...           4 years ago
  • 0.12.1-alpha.4                                ...           4 years ago
  • 0.12.1-alpha.3                                ...           4 years ago
  • 0.12.0                                ...           4 years ago
  • 0.12.1-alpha.54                                ...           4 years ago
  • 0.11.1-alpha.53                                ...           4 years ago
  • 0.11.1-alpha.44                                ...           4 years ago
  • 0.11.1-alpha.36                                ...           4 years ago
  • 0.11.1-alpha.35                                ...           4 years ago
  • 0.11.1-alpha.15                                ...           4 years ago
  • 0.11.1-alpha.4                                ...           4 years ago
  • 0.11.0                                ...           4 years ago
  • 0.11.1-alpha.48                                ...           4 years ago
  • 0.10.3-alpha.41                                ...           4 years ago
  • 0.10.3-alpha.40                                ...           4 years ago
  • 0.10.3-alpha.35                                ...           4 years ago
  • 0.10.3-alpha.34                                ...           4 years ago
  • 0.10.3-alpha.28                                ...           4 years ago
  • 0.10.3-canary.0                                ...           4 years ago
  • 0.10.2                                ...           4 years ago
  • 0.10.1                                ...           4 years ago
  • 0.10.0                                ...           4 years ago
  • 0.9.0                                ...           4 years ago
  • 0.8.3                                ...           4 years ago
  • 0.8.2                                ...           4 years ago
  • 0.8.1                                ...           4 years ago
  • 0.8.0                                ...           5 years ago
  • 0.7.0                                ...           5 years ago
  • 0.6.1                                ...           5 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.2                                ...           5 years ago
  • 0.5.1                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
Downloads
Total 16
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (27)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE