Skip to content

Commit 82f3630

Browse files
committed
Small adaptations
1 parent 8a9a7d3 commit 82f3630

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

tracer/src/Datadog.Trace.Tools.Runner/ProcessConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal static class ProcessConfiguration
5454

5555
if (logDirectory == null)
5656
{
57-
// LogPath is deprecated but still supported. For now, we bypass the WithKeys analyzer, but later we want to pull deprecations differently as part of centralized file
57+
// ProfilerLogPath is deprecated but still supported. For now, we bypass the WithKeys analyzer, but later we want to pull deprecations differently as part of centralized file
5858
#pragma warning disable DD0008, 618
5959
var nativeLogFile = config.WithKeys(ConfigurationKeys.TraceLogPath).AsString();
6060
#pragma warning restore DD0008, 618

tracer/src/Datadog.Trace.Tools.dd_dotnet/Datadog.Trace.Tools.dd_dotnet.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@
5656
<ItemGroup>
5757
<Compile Include="..\Datadog.Trace\TracerConstants.cs" Link="TracerConstants.cs" />
5858
<Compile Include="..\Datadog.Trace\Agent\TracesTransportType.cs" Link="TracesTransportType.cs" />
59-
<Compile Include="..\Datadog.Trace\Generated\net6.0\**\ConfigurationKeys*.g.cs" Link="Configuration\%(RecursiveDir)%(Filename)%(Extension)" />
6059
<Compile Include="..\Datadog.Trace\Configuration\DeprecationMessages.cs" Link="DeprecationMessages.cs" />
6160
<Compile Include="..\Datadog.Trace\Configuration\ExporterSettings.Shared.cs" Link="ExporterSettings.Shared.cs" />
61+
<!-- Link to generated ConfigurationKeys from Datadog.Trace project -->
62+
<Compile Include="..\Datadog.Trace\Generated\netstandard2.0\Datadog.Trace.SourceGenerators\ConfigurationKeysGenerator\ConfigurationKeys.g.cs" Link="Configuration\ConfigurationKeys.g.cs" />
63+
<Compile Include="..\Datadog.Trace\Generated\netstandard2.0\Datadog.Trace.SourceGenerators\ConfigurationKeysGenerator\ConfigurationKeys.Telemetry.g.cs" Link="Configuration\ConfigurationKeys.Telemetry.g.cs" />
6264
</ItemGroup>
6365

6466
<ItemGroup>

tracer/src/Datadog.Trace/Configuration/DeprecationMessages.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,11 @@
33
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
44
// </copyright>
55

6-
using System;
7-
86
namespace Datadog.Trace.Configuration
97
{
108
internal static class DeprecationMessages
119
{
1210
public const string AppAnalytics = "App Analytics has been replaced by Tracing without Limits. For more information see https://docs.datadoghq.com/tracing/legacy_app_analytics/";
13-
public const string ProfilerLogPathObsoleteMessage = "DD_TRACE_LOG_PATH is deprecated. Use DD_TRACE_LOG_DIRECTORY instead";
14-
15-
[Obsolete(ProfilerLogPathObsoleteMessage)]
16-
public const string LogPath = "DD_TRACE_LOG_PATH";
11+
public const string LogPath = "DD_TRACE_LOG_PATH is deprecated. Use DD_TRACE_LOG_DIRECTORY instead";
1712
}
1813
}

tracer/test/Datadog.Trace.TestHelpers.AutoInstrumentation/InstrumentationVerification.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static class InstrumentationVerification
2525

2626
/// <summary>
2727
/// Configuration key for enabling or disabling the copying original modules to disk so we can do offline investigation.
28-
/// Default is value is disabled.
28+
/// Default value is disabled.
2929
/// </summary>
3030
public const string CopyingOriginalModulesEnabled = "DD_COPY_ORIGINALS_MODULES_TO_DISK";
3131

0 commit comments

Comments
 (0)