Skip to content

Commit

Permalink
Removed ".Contrib" from ActivitySourceName
Browse files Browse the repository at this point in the history
  • Loading branch information
samimusallam committed Jul 26, 2022
1 parent 5faa6f5 commit 85b2ed0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ namespace OpenTelemetry.Contrib.Instrumentation.AWSLambda.Implementation
/// </summary>
internal static class AWSLambdaUtils
{
internal static string ActivitySourceName = typeof(AWSLambdaUtils).Assembly.GetName().Name;
internal static string ActivitySourceName =
typeof(AWSLambdaUtils).Assembly.GetName().Name.Replace(".Contrib", string.Empty);

private const string CloudProvider = "aws";
private const string AWSRegion = "AWS_REGION";
private const string AWSXRayLambdaTraceHeaderKey = "_X_AMZN_TRACE_ID";
Expand Down

0 comments on commit 85b2ed0

Please sign in to comment.