Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.
This repository was archived by the owner on May 23, 2023. It is now read-only.

Span tag values should be strings, booleans or numbers #168

@chpio

Description

@chpio

Hi,

A set of zero or more key:value Span Tags. The keys must be strings. The values may be strings, bools, or numeric types.

-- https://github.com/opentracing/specification/blob/master/specification.md

Expected

Span tag values should have a string | boolean | number type.

Actual

Span tag values have the any type.

setTag(key: string, value: any): this {


Or does "The values may be [...]" imply any type, although string | boolean | number should be used in most cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions