Skip to content

Add some namespacing in API #1750

@Flarna

Description

@Flarna
  • This only affects the JavaScript OpenTelemetry library
  • This may affect other libraries, but I would like to get opinions here first

Currently most functions in API are exported on top level. The API covers quite orithogonal topics - currently metrics and traces - but more may come.

Should we consider to add some namespacing to allow us to keep function names short but still have some context to distinguish between metric, trace,... related APIs?

By the way, is there some API polishing round planed before the GA release to cover topics like this? I assume once trace is GA it's hard to change the look and feel.

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