Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renames and code reorg to prepare for release #56

Merged
merged 3 commits into from
Mar 25, 2024
Merged

Conversation

stevejgordon
Copy link
Contributor

@stevejgordon stevejgordon commented Mar 25, 2024

PR is open for discussion on the potential renaming of types. Drops use of the "Agent" terminology. Some of these are internal types or rarely used by consumers in common scenarios.

  • IAgent becomes IInstrumentationLifetime.
  • IAgent implementations (internal) renamed accordingly.
  • AgentBuilder becomes ElasticOpenTelemetryBuilder
  • AgentBuilderOptions becomes ElasticOpenTelemetryOptions
  • AgentCompositeLogger becomes CompositeLogger
  • Static internal Agent becomes VersionHelper as it's now only responsible for that. It's not a great name, but it's an internal type anyway.

Open for discussion:
We could simplify the IElasticOpenTelemetry interface further, name it IElasticDistro, and fully adopt the notion of being a distro.

@stevejgordon stevejgordon requested a review from Mpdreamz March 25, 2024 10:19
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM

@stevejgordon stevejgordon merged commit 5150551 into main Mar 25, 2024
4 checks passed
@stevejgordon stevejgordon deleted the rename-builder branch March 25, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants