0.1.0 • Published 3 years ago

@opencensus/propagation-b3 v0.1.0

Weekly downloads
644,327
License
Apache-2.0
Repository
github
Last release
3 years ago

OpenCensus B3 Format Propagation for Node.js

Gitter chat

OpenCensus B3 Format Propagation sends a span context on the wire in an HTTP request, allowing other services to create spans with the right context.

The library is in alpha stage and the API is subject to change.

Installation

Install OpenCensus B3 Propagation with:

npm install @opencensus/propagation-b3

Usage

To propagate span context arround services with B3 Propagation, pass an instance of B3 Propagation to your tracing instance. For Javascript:

const tracing = require('@opencensus/nodejs');
const propagation = require('@opencensus/propagation-b3');

const b3 = new propagation.B3Format();

tracing.start({propagation: b3});

Similarly for Typescript:

import * as tracing from '@opencensus/nodejs';
import { B3Format } from '@opencensus/propagation-b3';

const b3 = new B3Format();

tracing.start({propagation: b3});

Useful links

0.1.0

3 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago