Skip to content

nataly87s/AppMetrics.Extensions.Graphite

 
 

Repository files navigation

App Metrics Graphite Extensions App Metrics

Official Site License

What is it?

The repo contains Graphite extension packages to App Metrics.

Latest Builds, Packages & Repo Stats

Branch AppVeyor Travis Coverage
dev AppVeyor Travis Coveralls
master AppVeyor Travis Coveralls
Package Dev Release Pre-Release Release
App.Metrics.Extensions.Reporting.Graphite MyGet Status NuGet Status NuGet Status
App.Metrics.Formatters.Graphite MyGet Status NuGet Status NuGet Status
App.Metrics.Formatting.Graphite MyGet Status NuGet Status NuGet Status

Grafana/Graphite Web Monitoring

Grafana/Graphite Generic Web Dashboard Demo

Grab the dashboard here

Grafana/Graphite OAuth2 Client Monitoring on a Web API

Grafana/Graphite Generic OAuth2 Web Dashboard Demo

Grab the dashboard here

Grafana/Graphite Web Application Setup

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

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'

Nuget Packages

Nuget packages won't be generated on non-windows environments by default.

Unfortunately there is currently no way out-of-the-box to conditionally build & pack a project by framework. Because App.Metrics packages target .NET 4.5.2 as well as dotnet standard there is a work around in the build script to force dotnet standard on build but no work around for packaging on non-windows environments.

Contributing

See the contribution guidlines in the main repo 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

Packages

No packages published

Languages

  • C# 93.4%
  • PowerShell 4.1%
  • Shell 2.5%