1.8.6 • Published 8 months ago

@pocket-tools/tracing v1.8.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

Tracing

We use this package to implement tracing within our servers. Requires Sentry as our trace propogator.

Local/Test Setup

We use a feature flag to control the percentage of traces which we sample and send to our collector.

When running locally, you can construct a mock Unleash client which mimics this feature flag:

const unleash = mockUnleash([
  {
    name: 'perm.backend.sentry-trace-sampler-rate',
    enabled: true,
    strategies: [
      {
        name: 'default',
        constraints: [],
        parameters: {
          rollout: '100',
          stickiness: 'default',
          groupId: 'perm.backend.sentry-trace-sampler-rate',
        },
        variants: [
          {
            name: 'samplePercent',
            weight: 1000,
            payload: { type: PayloadType.NUMBER, value: '1.0' },
          },
        ],
      },
    ],
  },
]).unleash;
1.8.6

8 months ago

1.8.5

8 months ago

1.8.4

8 months ago

1.8.2

9 months ago

1.8.3

9 months ago

1.8.1

9 months ago

1.8.0

9 months ago

1.7.10

9 months ago

1.7.8

9 months ago

1.7.3

9 months ago

1.7.2

9 months ago

1.7.1

9 months ago

1.7.0

9 months ago

1.6.1

9 months ago

1.6.0

9 months ago

1.5.1

9 months ago

1.5.0

9 months ago

1.7.7

9 months ago

1.7.6

9 months ago

1.7.5

9 months ago

1.4.8

9 months ago

1.7.4

9 months ago

1.4.7

9 months ago

1.4.6

10 months ago

1.4.5

10 months ago

1.4.4

10 months ago

1.4.2

10 months ago

1.4.1

10 months ago

1.3.19

10 months ago

1.3.18

11 months ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.10

1 year ago

1.3.13

12 months ago

1.3.14

12 months ago

1.3.11

12 months ago

1.3.12

12 months ago

1.3.17

11 months ago

1.3.15

12 months ago

1.3.16

11 months ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.4

1 year ago

1.3.1

1 year ago

1.2.0

1 year ago

1.3.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago