Skip to content

Commit 72ea473

Browse files
committed
Various profiler updates
1 parent 287e2a6 commit 72ea473

File tree

15 files changed

+151
-151
lines changed

15 files changed

+151
-151
lines changed

build/build.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<PackageReference Include="Fake.IO.Zip" Version="5.20.4" />
3636
<PackageReference Include="Fake.Tools.Git" Version="5.20.4" />
3737

38-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
38+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
3939

4040
<PackageReference Include="Octokit" Version="0.32.0" />
4141
<PackageReference Include="Proc" Version="0.6.2" />

build/scripts/Tooling.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ open ProcNet.Std
1111
module Tooling =
1212
type ExecResult = { ExitCode: int; Output: LineOut seq;}
1313

14-
let private defaultTimeout = TimeSpan.FromMinutes 5.
14+
let private defaultTimeout = TimeSpan.FromMinutes 10.
1515

1616
type NoopWriter () =
1717
interface IConsoleOutWriter with

sample/HttpListenerSample/HttpListenerSample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
13+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1414
</ItemGroup>
1515

1616
</Project>

src/profiler/Elastic.Apm.Profiler.Managed/DuckTyping/DuckType.Statics.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ public static partial class DuckType
4545
private static readonly PropertyInfo DuckTypeInstancePropertyInfo = typeof(IDuckType).GetProperty(nameof(IDuckType.Instance));
4646

4747
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
48-
private static readonly MethodInfo _methodBuilderGetToken =
49-
typeof(MethodBuilder).GetMethod("GetToken", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
48+
private static readonly MethodInfo _methodBuilderGetToken = typeof(MethodBuilder)
49+
.GetMethod("GetToken", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance)
50+
?? typeof(MethodBuilder).GetProperty("MetadataToken", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance)?.GetMethod;
5051

5152
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
5253
private static readonly Dictionary<Assembly, ModuleBuilder> ActiveBuilders = new Dictionary<Assembly, ModuleBuilder>();

src/profiler/Elastic.Apm.Profiler.Managed/Integrations/AdoNet/AdoNetTypeNames.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public InstrumentMicrosoftDataSqliteAttribute()
6464
Assembly = "Microsoft.Data.Sqlite";
6565
Type = "Microsoft.Data.Sqlite.SqliteCommand";
6666
MinimumVersion = "2.0.0";
67-
MaximumVersion = "7.*.*";
67+
MaximumVersion = "8.*.*";
6868
Group = "SqliteCommand";
6969
}
7070
}

src/profiler/Elastic.Apm.Profiler.Managed/integrations.yml

Lines changed: 133 additions & 133 deletions
Large diffs are not rendered by default.

test/Elastic.Apm.Tests.MockApmServer/Elastic.Apm.Tests.MockApmServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
33
<TargetFramework>net8.0</TargetFramework>
44
<RootNamespace>Elastic.Apm.Tests.MockApmServer</RootNamespace>

test/azure/Elastic.Apm.Azure.CosmosDb.Tests/Elastic.Apm.Azure.CosmosDb.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.0.0" />
1111
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.21.0" />
1212
<PackageReference Include="Proc" Version="0.6.2" />
13-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
13+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

test/azure/Elastic.Apm.Azure.ServiceBus.Tests/Elastic.Apm.Azure.ServiceBus.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReference Include="Azure.Messaging.ServiceBus" Version="7.0.0" />
1111
<PackageReference Include="Microsoft.Azure.ServiceBus" Version="3.0.0" />
1212
<PackageReference Include="Proc" Version="0.6.2" />
13-
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
13+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1414
</ItemGroup>
1515
<ItemGroup>
1616
<ProjectReference Include="$(SolutionRoot)\test\Elastic.Apm.Tests.Utilities\Elastic.Apm.Tests.Utilities.csproj" />

test/azure/Elastic.Apm.Azure.Storage.Tests/Elastic.Apm.Azure.Storage.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.2.2" />
1313
<PackageReference Include="Azure.Storage.Files.Shares" Version="12.7.0" />
1414
<PackageReference Include="Proc" Version="0.6.2" />
15-
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
15+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

0 commit comments

Comments
 (0)