/AspNetCore

App Metrics Extensions for AspNet Core

Primary LanguageC#Apache License 2.0Apache-2.0

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.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