File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
NewRelic/Agent/Extensions/Providers/Wrapper/RabbitMq Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ protected override void CreateAgentComponents()
3535 $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.MongoDb26.dll",
3636 $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.Sql.dll",
3737 $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.StackExchangeRedis.dll",
38+ $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.RabbitMq.dll",
3839 } ;
3940
4041 var wrapperXmls = new [ ]
@@ -45,6 +46,7 @@ protected override void CreateAgentComponents()
4546 $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.MongoDb26.Instrumentation.xml",
4647 $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.Sql.Instrumentation.xml",
4748 $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.StackExchangeRedis.Instrumentation.xml",
49+ $@ "{ SourceHomeBuilderPath } \extensions\NewRelic.Providers.Wrapper.RabbitMq.Instrumentation.xml",
4850 } ;
4951
5052 ExtensionXsd = $@ "{ SourceHomeBuilderPath } \extensions\extension.xsd";
Original file line number Diff line number Diff line change @@ -478,6 +478,9 @@ SPDX-License-Identifier: Apache-2.0
478478 <Component Id =" CoreStackExchangeRedisWrapperComponent" Guid =" {9278332C-3059-48F3-BD18-84C4323583DA}" >
479479 <File Id =" CoreStackExchangeRedisWrapperFile" Name =" NewRelic.Providers.Wrapper.StackExchangeRedis.dll" KeyPath =" yes" Source =" $(var.HomeFolderPath)_coreclr\extensions\NewRelic.Providers.Wrapper.StackExchangeRedis.dll" />
480480 </Component >
481+ <Component Id =" CoreRabbitMqWrapperComponent" Guid =" {758394DD-AB71-4E58-8E18-BF1135F8B2C2}" >
482+ <File Id =" CoreRabbitMqWrapperFile" Name =" NewRelic.Providers.Wrapper.RabbitMq.dll" KeyPath =" yes" Source =" $(var.HomeFolderPath)_coreclr\extensions\NewRelic.Providers.Wrapper.RabbitMq.dll" />
483+ </Component >
481484
482485 <!-- Reference libraries -->
483486 <Component Id =" CoreNewRelicCoreReferenceComponent" Guid =" {DD2BE979-7D4B-47EA-9FBE-F6B381D70E0B}" >
@@ -586,6 +589,9 @@ SPDX-License-Identifier: Apache-2.0
586589 <Component Id =" CoreStackExchangeRedisInstrumentationComponent" Guid =" {D7D3D2F7-1001-405A-9844-8640A39C5B9F}" >
587590 <File Id =" CoreStackExchangeRedisInstrumentationFile" Name =" NewRelic.Providers.Wrapper.StackExchangeRedis.Instrumentation.xml" KeyPath =" yes" Source =" $(var.HomeFolderPath)_coreclr\extensions\NewRelic.Providers.Wrapper.StackExchangeRedis.Instrumentation.xml" />
588591 </Component >
592+ <Component Id =" CoreRabbitMqInstrumentationComponent" Guid =" {1CDC18CC-992A-4386-BC4D-DE87A85D9568}" >
593+ <File Id =" CoreRabbitMqInstrumentationFile" Name =" NewRelic.Providers.Wrapper.RabbitMq.Instrumentation.xml" KeyPath =" yes" Source =" $(var.HomeFolderPath)_coreclr\extensions\NewRelic.Providers.Wrapper.RabbitMq.Instrumentation.xml" />
594+ </Component >
589595 </ComponentGroup >
590596
591597 <!-- Extensions XSD-->
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" ToolsVersion =" 15.0" >
22 <PropertyGroup >
3- <TargetFramework >net45</ TargetFramework >
3+ <TargetFrameworks >net45;netstandard2.0</ TargetFrameworks >
44 <AssemblyName >NewRelic.Providers.Wrapper.RabbitMq</AssemblyName >
55 <RootNamespace >NewRelic.Providers.Wrapper.RabbitMq</RootNamespace >
66 <Description >RabbitMq Wrapper Provider for New Relic .NET Agent</Description >
1111 </Content >
1212 </ItemGroup >
1313 <ItemGroup >
14- <Reference Include =" Microsoft.CSharp" />
14+ <PackageReference Include =" Microsoft.CSharp" Version = " 4.7.0 " />
1515 </ItemGroup >
1616 <ItemGroup >
1717 <ProjectReference Include =" $(RootProjectDirectory)\src\NewRelic.Core\NewRelic.Core.csproj" />
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public class RabbitMqHelper
1515 {
1616 private const string TempQueuePrefix = "amq." ;
1717 private const string BasicPropertiesType = "RabbitMQ.Client.Framing.BasicProperties" ;
18-
1918 public const string VendorName = "RabbitMQ" ;
2019 public const string AssemblyName = "RabbitMQ.Client" ;
2120 public const string TypeName = "RabbitMQ.Client.Framing.Impl.Model" ;
You can’t perform that action at this time.
0 commit comments