diff --git a/prometheus-net.DotNetRuntime.sln b/prometheus-net.DotNetRuntime.sln index 79d2954..f1f7e98 100644 --- a/prometheus-net.DotNetRuntime.sln +++ b/prometheus-net.DotNetRuntime.sln @@ -1,35 +1,38 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "prometheus-net.DotNetRuntime", "src\prometheus-net.DotNetRuntime\prometheus-net.DotNetRuntime.csproj", "{A40AD08A-53CB-40F3-A6D8-6FFCEC024289}" +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29905.134 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "prometheus-net.DotNetRuntime", "src\prometheus-net.DotNetRuntime\prometheus-net.DotNetRuntime.csproj", "{A40AD08A-53CB-40F3-A6D8-6FFCEC024289}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "prometheus-net.DotNetRuntime.Tests", "src\prometheus-net.DotNetRuntime.Tests\prometheus-net.DotNetRuntime.Tests.csproj", "{7F4E2E72-5745-4312-B238-CD7B731957B0}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "prometheus-net.DotNetRuntime.Tests", "src\prometheus-net.DotNetRuntime.Tests\prometheus-net.DotNetRuntime.Tests.csproj", "{7F4E2E72-5745-4312-B238-CD7B731957B0}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{31AD912F-A1DC-434A-8C8D-049F4BBD67D4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspNetCoreExample", "examples\AspNetCoreExample\AspNetCoreExample.csproj", "{D01E9ED3-E35C-4F44-A5AD-5350E43AA636}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreExample", "examples\AspNetCoreExample\AspNetCoreExample.csproj", "{D01E9ED3-E35C-4F44-A5AD-5350E43AA636}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - ReleaseV2|Any CPU = ReleaseV2|Any CPU DebugV2|Any CPU = DebugV2|Any CPU DebugV3|Any CPU = DebugV3|Any CPU + ReleaseV2|Any CPU = ReleaseV2|Any CPU ReleaseV3|Any CPU = ReleaseV3|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.ReleaseV2|Any CPU.ActiveCfg = ReleaseV2|Any CPU - {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.ReleaseV2|Any CPU.Build.0 = ReleaseV2|Any CPU {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.DebugV2|Any CPU.ActiveCfg = DebugV2|Any CPU {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.DebugV2|Any CPU.Build.0 = DebugV2|Any CPU {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.DebugV3|Any CPU.ActiveCfg = DebugV3|Any CPU {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.DebugV3|Any CPU.Build.0 = DebugV3|Any CPU + {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.ReleaseV2|Any CPU.ActiveCfg = ReleaseV2|Any CPU + {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.ReleaseV2|Any CPU.Build.0 = ReleaseV2|Any CPU {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.ReleaseV3|Any CPU.ActiveCfg = ReleaseV3|Any CPU {A40AD08A-53CB-40F3-A6D8-6FFCEC024289}.ReleaseV3|Any CPU.Build.0 = ReleaseV3|Any CPU - {7F4E2E72-5745-4312-B238-CD7B731957B0}.ReleaseV2|Any CPU.ActiveCfg = ReleaseV2|Any CPU - {7F4E2E72-5745-4312-B238-CD7B731957B0}.ReleaseV2|Any CPU.Build.0 = ReleaseV2|Any CPU {7F4E2E72-5745-4312-B238-CD7B731957B0}.DebugV2|Any CPU.ActiveCfg = DebugV2|Any CPU {7F4E2E72-5745-4312-B238-CD7B731957B0}.DebugV2|Any CPU.Build.0 = DebugV2|Any CPU {7F4E2E72-5745-4312-B238-CD7B731957B0}.DebugV3|Any CPU.ActiveCfg = DebugV3|Any CPU {7F4E2E72-5745-4312-B238-CD7B731957B0}.DebugV3|Any CPU.Build.0 = DebugV3|Any CPU + {7F4E2E72-5745-4312-B238-CD7B731957B0}.ReleaseV2|Any CPU.ActiveCfg = ReleaseV2|Any CPU + {7F4E2E72-5745-4312-B238-CD7B731957B0}.ReleaseV2|Any CPU.Build.0 = ReleaseV2|Any CPU {7F4E2E72-5745-4312-B238-CD7B731957B0}.ReleaseV3|Any CPU.ActiveCfg = ReleaseV3|Any CPU {7F4E2E72-5745-4312-B238-CD7B731957B0}.ReleaseV3|Any CPU.Build.0 = ReleaseV3|Any CPU {D01E9ED3-E35C-4F44-A5AD-5350E43AA636}.DebugV2|Any CPU.ActiveCfg = DebugV2|Any CPU @@ -41,7 +44,13 @@ Global {D01E9ED3-E35C-4F44-A5AD-5350E43AA636}.ReleaseV3|Any CPU.ActiveCfg = ReleaseV3|Any CPU {D01E9ED3-E35C-4F44-A5AD-5350E43AA636}.ReleaseV3|Any CPU.Build.0 = ReleaseV3|Any CPU EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection GlobalSection(NestedProjects) = preSolution {D01E9ED3-E35C-4F44-A5AD-5350E43AA636} = {31AD912F-A1DC-434A-8C8D-049F4BBD67D4} EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0090A9BC-338B-4893-B820-FBE972E28E02} + EndGlobalSection EndGlobal diff --git a/src/prometheus-net.DotNetRuntime/Properties.cs b/src/prometheus-net.DotNetRuntime/Properties.cs index 5d287e3..de7d4c1 100644 --- a/src/prometheus-net.DotNetRuntime/Properties.cs +++ b/src/prometheus-net.DotNetRuntime/Properties.cs @@ -1,2 +1,2 @@ -using System.Runtime.CompilerServices; -[assembly:InternalsVisibleTo("prometheus-net.DotNetRuntime.Tests")] \ No newline at end of file +using System.Runtime.CompilerServices; +[assembly: InternalsVisibleTo("prometheus-net.DotNetRuntime.Tests")] diff --git a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj index ca2e2cf..238ede2 100644 --- a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj +++ b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.csproj @@ -52,7 +52,7 @@ </PropertyGroup> <ItemGroup Condition="$(PromMajorVersion) == '3'"> - <PackageReference Include="prometheus-net" Version="3.1.2" /> + <PackageReference Include="prometheus-net" Version="3.5.0" /> </ItemGroup> <ItemGroup Condition="$(PromMajorVersion) == '2'"> diff --git a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.snk b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.snk new file mode 100644 index 0000000..b338cc8 Binary files /dev/null and b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntime.snk differ diff --git a/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntimeStrongV3.csproj b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntimeStrongV3.csproj new file mode 100644 index 0000000..b038f52 --- /dev/null +++ b/src/prometheus-net.DotNetRuntime/prometheus-net.DotNetRuntimeStrongV3.csproj @@ -0,0 +1,44 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <PromMajorVersion Condition="$(PromMajorVersion) == ''">3</PromMajorVersion> + <DefineConstants>$(DefineConstants);PROMV3</DefineConstants> + <RootNamespace>Prometheus.DotNetRuntime</RootNamespace> + <AssemblyName>prometheus-net.DotNetRuntime</AssemblyName> + <PackageId>prometheus-net.DotNetRuntime</PackageId> + <Version>$(PromMajorVersion).3.1</Version> + <Authors>James Luck</Authors> + <PackageTags>Prometheus prometheus-net IOnDemandCollector runtime metrics gc jit threadpool contention stats</PackageTags> + <PackageProjectUrl>https://github.com/djluck/prometheus-net.DotNetRuntime</PackageProjectUrl> + <Description> + Exposes .NET core runtime metrics (GC, JIT, lock contention, thread pool) using the prometheus-net package. + </Description> + <PackageLicense>https://github.com/djluck/prometheus-net.DotNetRuntime/blob/master/LICENSE.txt</PackageLicense> + <Configurations>DebugV3;ReleaseV3</Configurations> + <Platforms>AnyCPU</Platforms> + <TargetFrameworks>netcoreapp3.0</TargetFrameworks> + <LangVersion>8</LangVersion> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>1701;1702;CS1591;</NoWarn> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>prometheus-net.DotNetRuntime.snk</AssemblyOriginatorKeyFile> + </PropertyGroup> + + <PropertyGroup Condition=" $(Configuration.StartsWith('Release')) "> + <Optimize Condition=" '$(Optimize)' == '' ">true</Optimize> + </PropertyGroup> + + <PropertyGroup Condition=" $(Configuration.StartsWith('Debug')) "> + <DebugSymbols Condition=" '$(DebugSymbols)' == '' ">true</DebugSymbols> + <Optimize Condition=" '$(Optimize)' == '' ">false</Optimize> + </PropertyGroup> + + <PropertyGroup Condition=" '$(Configuration)' == 'ReleaseV3' "> + <DocumentationFile>bin\ReleaseV3\prometheus-net.DotNetRuntime.xml</DocumentationFile> + </PropertyGroup> + + <ItemGroup Condition="$(PromMajorVersion) == '3'"> + <PackageReference Include="prometheus-net" Version="3.5.0" /> + </ItemGroup> + +</Project>