This repository has been archived by the owner on Mar 26, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
497 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<AppMetricsCoreVersion>2.0.0-*</AppMetricsCoreVersion> | ||
<AppMetricsMiddlewareVersion>2.0.0-*</AppMetricsMiddlewareVersion> | ||
<AppMetricsReportingVersion>2.0.0-*</AppMetricsReportingVersion> | ||
<AspNetCoreVersion>2.0.0-*</AspNetCoreVersion> | ||
<CoreFxVersion>4.4.0-*</CoreFxVersion> | ||
<DependencyModelVersion>2.0.0-*</DependencyModelVersion> | ||
<BenchmarkDotNetVersion>0.10.8</BenchmarkDotNetVersion> | ||
<MoqVersion>4.7.1</MoqVersion> | ||
<NETStandardLibraryNETFrameworkVersion>2.0.0-*</NETStandardLibraryNETFrameworkVersion> | ||
<RoslynVersion>2.0.0</RoslynVersion> | ||
<RuntimeFrameworkVersion Condition="'$(TargetFramework)'=='netcoreapp2.0'">2.0.0-*</RuntimeFrameworkVersion> | ||
<DotNetCliVersion>2.0.0-preview1-005977</DotNetCliVersion> | ||
<TestSdkVersion>15.3.0-*</TestSdkVersion> | ||
<XunitVersion>2.3.0-beta3-*</XunitVersion> | ||
<FluentAssertionsVersion>4.19.2</FluentAssertionsVersion> | ||
<FluentAssertionsJsonVersion>4.19.0</FluentAssertionsJsonVersion> | ||
<StyleCopAnalyzersVersion>1.0.0</StyleCopAnalyzersVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"projects": [ "src", "test", "sandbox" ], | ||
"sdk": { | ||
"version": "2.0.0-preview1-005977" | ||
} | ||
} |
37 changes: 19 additions & 18 deletions
37
sandbox/App.Metrics.InfluxDB.Sandbox/App.Metrics.InfluxDB.Sandbox.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,37 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<Import Project="..\..\build\common.props" /> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp1.1</TargetFramework> | ||
<DockerComposeProjectPath>..\..\docker-compose.dcproj</DockerComposeProjectPath> | ||
<TargetFramework>netcoreapp2.0</TargetFramework> | ||
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netcoreapp2.0</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="wwwroot\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="App.Metrics" Version="1.2.0" /> | ||
<PackageReference Include="App.Metrics.Concurrency" Version="1.2.0" /> | ||
<PackageReference Include="App.Metrics.Extensions.Middleware" Version="1.2.0" /> | ||
<PackageReference Include="App.Metrics.Extensions.Mvc" Version="1.2.0" /> | ||
<PackageReference Include="App.Metrics.Formatters.Ascii" Version="1.0.0" /> | ||
<PackageReference Include="App.Metrics.Formatters.Json" Version="1.2.0" /> | ||
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.0" /> | ||
<PackageReference Include="App.Metrics" Version="$(AppMetricsCoreVersion)" /> | ||
<PackageReference Include="App.Metrics.Core" Version="$(AppMetricsCoreVersion)" /> | ||
<PackageReference Include="App.Metrics.Middleware" Version="$(AppMetricsMiddlewareVersion)" /> | ||
<PackageReference Include="App.Metrics.Mvc" Version="$(AppMetricsMiddlewareVersion)" /> | ||
<PackageReference Include="App.Metrics.Middleware.Formatters.Ascii" Version="$(AppMetricsMiddlewareVersion)" /> | ||
<PackageReference Include="App.Metrics.Middleware.Formatters.Json" Version="$(AppMetricsMiddlewareVersion)" /> | ||
<PackageReference Include="Microsoft.AspNetCore" Version="$(AspNetCoreVersion)" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="$(AspNetCoreVersion)" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(AspNetCoreVersion)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\App.Metrics.Extensions.Reporting.InfluxDB\App.Metrics.Extensions.Reporting.InfluxDB.csproj" /> | ||
<ProjectReference Include="..\..\src\App.Metrics.Formatters.InfluxDB\App.Metrics.Formatters.InfluxDB.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Update="appsettings.json"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="$(AspNetCoreVersion)" /> | ||
</ItemGroup> | ||
|
||
</Project> |
6 changes: 5 additions & 1 deletion
6
sandbox/App.Metrics.InfluxDB.Sandbox/Controllers/ExceptionThrowingController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
sandbox/App.Metrics.InfluxDB.Sandbox/Controllers/FileController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
sandbox/App.Metrics.InfluxDB.Sandbox/Controllers/FrustratingController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
sandbox/App.Metrics.InfluxDB.Sandbox/Controllers/Registry.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// <copyright file="Registry.cs" company="Allan Hardy"> | ||
// Copyright (c) Allan Hardy. All rights reserved. | ||
// </copyright> | ||
|
||
namespace App.Metrics.InfluxDB.Sandbox.Controllers | ||
{ | ||
// public static class Registry | ||
// { | ||
// public static HistogramOptions One = new HistogramOptions | ||
// // ReSharper restore UnusedMember.Global | ||
// { | ||
// Name = "test1", | ||
// MeasurementUnit = Unit.Bytes, | ||
// Context = "test" | ||
// }; | ||
// public static HistogramOptions Two = new HistogramOptions | ||
// { | ||
// Name = "test2", | ||
// MeasurementUnit = Unit.Bytes, | ||
// Context = "test" | ||
// }; | ||
// public static HistogramOptions Three = new HistogramOptions | ||
// { | ||
// Name = "test3", | ||
// MeasurementUnit = Unit.Bytes, | ||
// Context = "test" | ||
// }; | ||
// } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.