Skip to content

Rename packages #3469

@alanwest

Description

@alanwest

Packages to rename

The following packages in both the main and the contrib repos should be renamed to better describe what they contain.

Current name Suggested name Notes
OpenTelemetry.Extensions.Serilog OpenTelemetry.Appenders.Serilog 1, 6
OpenTelemetry.Extensions.EventSource OpenTelemetry.Appenders.EventSource 1, 6
OpenTelemetry.Instrumentation.EventCounters OpenTelemetry.Shims.EventCounters 1
OpenTelemetry.Extensions.Docker OpenTelemetry.ResourceDetectors.Container 2
OpenTelemetry.Extensions.Propagators OpenTelemetry.Propagators 2, 5
OpenTelemetry.Extensions.PersistentStorage.Abstractions OpenTelemetry.PersistentStorage.Abstractions 2
OpenTelemetry.Extensions.PersistentStorage OpenTelemetry.PersistentStorage.FileSystem 2
OpenTelemetry.Contrib.Instrumentation.AWS OpenTelemetry.Instrumentation.AWS 3
OpenTelemetry.Contrib.Extensions.AWSXRay OpenTelemetry.??.AWSXRay 3
OpenTelemetry.Extensions.AzureMonitor OpenTelemetry.Samplers.AzureMonitor 3
OpenTelemetry.Extensions ? 4

[1]: A shim is a package that integrates a library with OpenTelemetry - e.g. "I use library xyz to produce [traces | metrics | logs], I need to use a shim package to integrate it with OpenTelemetry".

[2]: The name of an SDK extension package should contain the type of extension it contains - e.g., Exporter, ResourceDetectors, Propagators, etc. We prefer pluralized names, but may consider exceptions to this rule. For example, PersistentStorages sounds wrong. The inspiration for preferring pluralized names comes from the .NET design guidelines for namespace naming.

[3]: The naming of vendor-specific packages should be up to the vendor. However, we should make a suggestion and provide vendors with guidance.

[4]: OpenTelemetry.Extensions is a bit of an odd-ball. It contains a processor for both traces and logs, so should it be named OpenTelemetry.Processors.Something?

[5]: Not sure we can rename OpenTelemetry.Extensions.Propagators since it already has a stable release.

[6]: The initial development of the logging shims is on the main-logs branch. The will probably move to the contrib repo.

Packages to leave alone

(expand me) For reference, this is a list of the remaining packages. If there are packages in this list you think should be renamed, please comment.
Package name
OpenTelemetry
OpenTelemetry.Api
OpenTelemetry.Exporter.Console
OpenTelemetry.Exporter.Geneva
OpenTelemetry.Exporter.InMemory
OpenTelemetry.Exporter.Instana
OpenTelemetry.Exporter.Jaeger
OpenTelemetry.Exporter.OpenTelemetryProtocol
OpenTelemetry.Exporter.Prometheus.AspNetCore
OpenTelemetry.Exporter.Prometheus.HttpListener
OpenTelemetry.Exporter.Stackdriver
OpenTelemetry.Exporter.Zipkin
OpenTelemetry.Exporter.ZPages
OpenTelemetry.Extensions.DependencyInjection
OpenTelemetry.Extensions.Hosting
OpenTelemetry.Instrumentation.AspNet
OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule
OpenTelemetry.Instrumentation.AspNetCore
OpenTelemetry.Instrumentation.AWSLambda
OpenTelemetry.Instrumentation.ElasticsearchClient
OpenTelemetry.Instrumentation.EntityFrameworkCore
OpenTelemetry.Instrumentation.GrpcCore
OpenTelemetry.Instrumentation.GrpcNetClient
OpenTelemetry.Instrumentation.Hangfire
OpenTelemetry.Instrumentation.Http
OpenTelemetry.Instrumentation.MassTransit
OpenTelemetry.Instrumentation.MySqlData
OpenTelemetry.Instrumentation.Owin
OpenTelemetry.Instrumentation.Process
OpenTelemetry.Instrumentation.Quartz
OpenTelemetry.Instrumentation.Runtime
OpenTelemetry.Instrumentation.SqlClient
OpenTelemetry.Instrumentation.StackExchangeRedis
OpenTelemetry.Instrumentation.Wcf
OpenTelemetry.SemanticConventions
OpenTelemetry.Shims.OpenTracing

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation relatedgood first issueGood for newcomershelp wantedGood for taking. Extra help will be provided by maintainerskeep-openPrevents issues and pull requests being closed as stale

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions