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

[Instrumentation.AWS] Update aws activitysourcename #535

Conversation

samimusallam
Copy link
Member

@samimusallam samimusallam commented Jul 26, 2022

Fixes #484

Changes

Use the assembly name without ".Contrib" as the ActivitySource name

Please provide a brief description of the changes here.

For significant contributions please make sure you have completed the following items:

  • Appropriate CHANGELOG.md updated for non-trivial changes
  • Design discussion issue #

@samimusallam samimusallam requested a review from a team July 26, 2022 12:49
@github-actions github-actions bot requested a review from srprash July 26, 2022 12:49
@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #535 (50601f0) into main (426f1a6) will increase coverage by 0.30%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #535      +/-   ##
==========================================
+ Coverage   76.40%   76.71%   +0.30%     
==========================================
  Files         170      170              
  Lines        5141     5162      +21     
==========================================
+ Hits         3928     3960      +32     
+ Misses       1213     1202      -11     
Impacted Files Coverage Δ
...on.AWS/Implementation/AWSTracingPipelineHandler.cs 79.56% <100.00%> (ø)
...ontrib.Instrumentation.AWS/Implementation/Utils.cs 77.77% <100.00%> (+2.77%) ⬆️
...rumentation.AWS/TracerProviderBuilderExtensions.cs 100.00% <100.00%> (ø)
...elemetry.Instrumentation.Process/ProcessMetrics.cs 100.00% <100.00%> (+100.00%) ⬆️
...entation.Process/MeterProviderBuilderExtensions.cs 100.00% <0.00%> (+100.00%) ⬆️

@@ -1,5 +1,11 @@
# Changelog - OpenTelemetry.Contrib.Instrumentation.AWS

## Unreleased

* Update the `ActivitySource` name to the assembly name:
Copy link
Member

Choose a reason for hiding this comment

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

might be a breaking change, since this package is already stable.

Copy link
Member Author

Choose a reason for hiding this comment

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

might be a breaking change, since this package is already stable.

Does it make sense to remove the unreleased section?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can I get an update on this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is a breaking change, you should wait for the 2.0.x release to make this change. This change shouldn't go into 1.x.x versions.

Copy link
Member Author

Choose a reason for hiding this comment

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

There was a decision to remove ".Contrib" from all packages. Only AWS packages do not follow this change as mentioned in this comment

@reyang reyang added the comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS label Jul 26, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2022

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Aug 4, 2022
@github-actions github-actions bot removed the Stale label Aug 5, 2022
@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added Stale and removed Stale labels Aug 17, 2022
@@ -21,6 +21,9 @@ namespace OpenTelemetry.Contrib.Instrumentation.AWS.Implementation
{
internal class Utils
{
internal static string ActivitySourceName =
Copy link
Member

@Oberon00 Oberon00 Aug 29, 2022

Choose a reason for hiding this comment

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

Looking at how this played out with Instrumentation.AwsLambda so far (#534, #590 (comment), #593) I think we should either:

  • Rename the whole package instead of patching the activity source name (disruptive but consistent); or
  • Leave everything as-is

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2022

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Sep 6, 2022
@github-actions
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Instrumentation] Standardize ActivitySource names for instrumentation projects
6 participants