Skip to content

Package and directory structure #4

@c24t

Description

@c24t

Decide on the directory structure and packages for the new repo. Borrowing from OpenCensus, this might look like:

context/
contrib/
opentelemetry/
  api/
    logs/
    metrics/
    tags/
    trace/
  sdk/
    common/
    logs/
    metrics/
    tags/
    trace/

Changes as compared to OC:

  • api and sdk are separate packages
  • stats has been merged into metrics

Open questions:

  • What do we want to name the new packages: opentelemetry-api and opentelemetry-sdk, or just opentelemetry for the implementation package?
  • Should we continue to package context separately?
  • Should we distinguish between exporters and integrations (or "adapters") in contrib?

This assumes that we're still using namespace packages to create multiple distributions from the same codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIssue or PR that needs/is extended discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions