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

chore: core tech updates, 2024-09-04 #2735

Merged
merged 5 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="AWSSDK.SQS" Version="3.7.400.7" />
<PackageReference Include="AWSSDK.SQS" Version="3.7.400.13" />
<PackageReference Include="NewRelic.Agent.Api" Version="10.26.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public abstract class BedrockTestsBase<TFixture> : NewRelicIntegrationTest<TFixt
private List<string> _bedrockModelsToTest = new List<string>
{
"meta13",
"ai21",
"amazonembed",
"amazonexpress",
"cohere",
Expand Down Expand Up @@ -113,7 +112,7 @@ public void BedrockTest()
{
var expectedMetrics = new List<Assertions.ExpectedMetric>
{
new Assertions.ExpectedMetric { metricName = @"Custom/Llm/completion/Bedrock/InvokeModelAsync", CallCountAllHarvests = 5 },
new Assertions.ExpectedMetric { metricName = @"Custom/Llm/completion/Bedrock/InvokeModelAsync", CallCountAllHarvests = _bedrockModelsToTest.Count - 1 },
new Assertions.ExpectedMetric { metricName = @"Custom/Llm/embedding/Bedrock/InvokeModelAsync", CallCountAllHarvests = 1 },
new Assertions.ExpectedMetric { metricName = @"Supportability/DotNet/ML/.*", IsRegexName = true}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>

<ItemGroup> <!-- retain alphabetical order please! -->
<PackageReference Include="AWSSDK.BedrockRuntime" Version="3.7.401.7" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="AWSSDK.BedrockRuntime" Version="3.7.401.7" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="AWSSDK.BedrockRuntime" Version="3.7.403.1" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="AWSSDK.BedrockRuntime" Version="3.7.403.1" Condition="'$(TargetFramework)' == 'net8.0'" />

<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.15.0" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.15.0" Condition="'$(TargetFramework)' == 'net8.0'" />
Expand All @@ -29,8 +29,8 @@
<PackageReference Include="MassTransit" Version="8.2.3" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="MassTransit" Version="8.2.3" Condition="'$(TargetFramework)' == 'net8.0'" />

<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.1" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.1" Condition="'$(TargetFramework)' == 'net8.0'" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" Condition="'$(TargetFramework)' == 'net8.0'" />

<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" Condition="'$(TargetFramework)' == 'net8.0'" />
Expand Down Expand Up @@ -76,7 +76,7 @@
<PackageReference Include="RabbitMQ.Client" Version="6.8.1" Condition="'$(TargetFramework)' == 'net8.0'" />

<!-- Latest version of RestSharp to test against. Relies on HttpClient instrumentation. -->
<PackageReference Include="RestSharp" Version="111.4.1" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="RestSharp" Version="112.0.0" Condition="'$(TargetFramework)' == 'net481'" />

<PackageReference Include="Serilog" Version="4.0.1" Condition="'$(TargetFramework)' == 'net481'" />
<PackageReference Include="Serilog" Version="4.0.1" Condition="'$(TargetFramework)' == 'net8.0'" />
Expand Down
Loading