opentelemetry-span-transformations
TypeScript icon, indicating that this package has built-in type declarations

0.41.0 • Public • Published

span-transformations

Usage

Utility functions to convert between different span types. Currently only supports converting spans from Jaeger(proto, like the one currently received from jaeger internal json api) to opentelemetry ReadableSpan.

import { convertJaegerSpanToOtelReadableSpan } from 'opentelemetry-span-transformations';
const otelSpan = convertJaegerSpanToOtelReadableSpan(jaegerSpan);

ReadableSpans fields that we do not support for now(not taking them from jaeger span):

SpanContext.isRemote
SpanContext.traceState
Links
Events
Status.message

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.41.00latest
0.0.0-2024-05-16--12-470alpha

Version History

VersionDownloads (Last 7 Days)Published
0.41.00
0.0.0-2024-05-16--12-470
0.40.00
0.0.0-2023-10-17--13-060
0.39.10
0.2.10
0.0.0-2023-07-26--14-480
0.0.0-2022-07-11--08-090
0.2.00
0.1.10
0.0.0-2022-04-13--14-320
0.1.0187
0.0.0-2021-12-22--14-330
0.0.0-2021-12-21--15-570
0.0.0-2021-12-20--13-410
0.0.0-2021-12-15--16-170
0.0.0-2021-12-15--13-290
0.0.0-2021-12-15--13-050
0.0.0-2021-12-15--12-470

Package Sidebar

Install

npm i opentelemetry-span-transformations

Weekly Downloads

187

Version

0.41.0

License

Apache-2.0

Unpacked Size

30.8 kB

Total Files

15

Last publish

Collaborators

  • aspecto-release-bot