App Metrics Extensions for AspNet Core
Clone or download
alhardy Merge pull request #41 from lkts/fix-ignored-routes-regex
Improve performance of ignored routes workflow
Latest commit a430813 Oct 13, 2018
Permalink
Failed to load latest commit information.
build package update, netcore 2.1.1 and test packages, removing net sdk ins… Jul 8, 2018
sandbox package update, netcore 2.1.1 and test packages, removing net sdk ins… Jul 8, 2018
src #39 Improve performance of ignored routes workflow Oct 13, 2018
test Minor tests fix Oct 13, 2018
tools #1 sourcelink Oct 16, 2017
.gitattributes initial commit Apr 22, 2016
.gitignore adding cake build script Feb 17, 2017
.travis.yml buid update - specify dotnet sdk 2.0.0 preview 1 Jun 10, 2017
AppMetrics.ruleset AppMetrics/AppMetrics#178 allowing aspnet core metrics features to be… Aug 13, 2017
AspNetCore.sln #39 Improve performance of ignored routes workflow Oct 13, 2018
AspNetCore.sln.DotSettings dotsettings update and removing iis express profiles from launchSettings Feb 2, 2018
CONTRIBUTING.md letting resharper generate license headers instead of using vs extens… Jan 14, 2017
GitReleaseManager.yaml updating grm yml to include investigate issue tags Jan 31, 2017
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md Dec 14, 2016
LICENSE Initial commit Apr 22, 2016
NuGet.config aspnet core rtm update, defaultroute handler no longer runs for attri… Jun 30, 2016
PULL_REQUEST_TEMPLATE.md updating pr template Apr 7, 2017
README.md #26 Adding App.Metrics.AspNetCore.Mvc.Core package to readme May 2, 2018
app-metrics.licenseheader letting resharper generate license headers instead of using vs extens… Jan 14, 2017
appveyor.yml package update, netcore 2.1.1 and test packages, removing net sdk ins… Jul 8, 2018
build.cake build script update for release packages May 11, 2018
build.ps1 adding cake build script Feb 17, 2017
build.sh travis build fix Jun 1, 2017
global.json package update, netcore 2.1.1 and test packages, removing net sdk ins… Jul 8, 2018
run-benchmarks.ps1 #3 Adding reservoir sampling benchmarks which compares uniform, slidi… Nov 26, 2016
stylecop.json updating copyright headers May 11, 2018
version.props #27 bumping version to 3.0.0 and removing obsolete extensions May 11, 2018
xunit.runner.json #155 #157 middleware and dependent packages updated to use aspnet cor… Jun 10, 2017

README.md

App Metrics AspNetCore App Metrics

Official Site License

What is App Metrics AspNetCore?

App Metrics is an open-source and cross-platform .NET library used to record metrics within an application. This repository includes AspNetCore middleware and extensions to App Metrics which track typical metrics recorded in a web application and provide the ability to expose recorded metrics over HTTP. See the Getting Started Guide for more details and documentation on App Metrics Web Monitoring.

Latest Builds & Packages

Branch AppVeyor Travis Coverage
dev AppVeyor Travis Coveralls
master AppVeyor Travis Coveralls
Package Dev Release Pre-Release Release
App.Metrics.AspNetCore MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Abstractions MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Core MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Hosting MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Mvc MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Mvc.Core MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Tracking MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Endpoints MyGet Status NuGet Status NuGet Status
App.Metrics.AspNetCore.Reporting MyGet Status NuGet Status NuGet Status

Visualization

Grafana Web Monitoring

Grafana/InfluxDB Generic Web Dashboard Demo

Dashboards for each reporter are available on Grafana Dashbaords.

Grafana OAuth2 Client Web Monitoring

Grafana/InfluxDB Generic OAuth2 Web Dashboard Demo

Dashboards for each reporter are available on Grafana Dashbaords.

How to build

AppVeyor and Travis CI builds are triggered on commits and PRs to dev and master branches.

See the following for build arguments and running locally.

Configuration Description Default Environment Required
BuildConfiguration The configuration to run the build, Debug or Release Release All Optional
PreReleaseSuffix The pre-release suffix for versioning nuget package artifacts e.g. beta ci All Optional
CoverWith DotCover or OpenCover to calculate and report code coverage, None to skip. When not None, a coverage file and html report will be generated at ./artifacts/coverage OpenCover Windows Only Optional
SkipCodeInspect false to run ReSharper code inspect and report results, true to skip. When true, the code inspection html report and xml output will be generated at ./artifacts/resharper-reports false Windows Only Optional
BuildNumber The build number to use for pre-release versions 0 All Optional
LinkSources Source link support allows source code to be downloaded on demand while debugging true All Optional

Windows

Run build.ps1 from the repositories root directory.

	.\build.ps1

With Arguments

	.\build.ps1 --ScriptArgs '-BuildConfiguration=Release -PreReleaseSuffix=beta -CoverWith=OpenCover -SkipCodeInspect=false -BuildNumber=1'

Linux & OSX

Run build.sh from the repositories root directory. Code Coverage reports are now supported on Linux and OSX, it will be skipped running in these environments.

	.\build.sh

With Arguments

	.\build.sh --ScriptArgs '-BuildConfiguration=Release -PreReleaseSuffix=beta -BuildNumber=1'

Contributing

See the contribution guidlines for details.

Acknowledgements

Thanks for providing free open source licensing

License

This library is release under Apache 2.0 License ( see LICENSE ) Copyright (c) 2016 Allan Hardy

See LICENSE


Powered By NDepend