Skip to content
This repository has been archived by the owner. It is now read-only.
App Metrics Extensions for InfluxDB reporting
Branch: dev
Clone or download
Latest commit 4c7605d Mar 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks add xml doc Feb 5, 2019
build
sandbox
src fix tests Mar 12, 2019
test
tools
visualization/grafana-dashbaords
.gitattributes
.gitignore
.travis.yml
AppMetrics.ruleset
GitReleaseManager.yaml
ISSUE_TEMPLATE.md initial commit - moving reporting packages from main repo Jan 27, 2017
InfluxDB.sln
InfluxDB.sln.DotSettings
LICENSE
NuGet.config initial commit - moving reporting packages from main repo Jan 27, 2017
PULL_REQUEST_TEMPLATE.md
README.md
app-metrics.licenseheader
appveyor.yml use latest dotnet sdk, updating sample to use default reservoir with … Jul 8, 2018
build.cake
build.ps1 Updating build script to Cake, configuring builds osx and linux build… Feb 26, 2017
build.sh
global.json
stylecop.json updating copyright headers May 11, 2018
version.props #33 bumping version to 3.0.0, allow setting which metric fields to re… May 11, 2018

README.md

This repo has been archived, source code and issues moved to AppMetrics

App Metrics InfluxDB App Metrics

Official Site License

What is it?

This repo contains InfluxDB 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 PreRelease Latest Release
App.Metrics.Reporting.InfluxDB MyGet Status NuGet Status NuGet Status
App.Metrics.Formatters.InfluxDB MyGet Status NuGet Status NuGet Status

Grafana/InfluxDB Web Monitoring

Grafana/InfluxDB Generic Web Dashboard Demo

Grab the dashboard here

Grafana/InfluxDB OAuth2 Client Monitoring on a Web API

Grafana/InfluxDB Generic OAuth2 Web Dashboard Demo

Grab the dashboard here

Grafana/InfluxDB Web Application Setup

  • Download and install InfluxDB. Runs well on Windows using Bash on Windows on Ubuntu
  • Create a new InfluxDB Database. Keep note of this for configuring the InfluxDB reporter in your web application and configuring the InfluxDB Datasource in Grafana
  • Download and install Grafana, then create a new InfluxDB Datasource pointing the the Database just created and import App.Metrics web dashboard
  • See the docs on configurating InfluxDB reporting.
  • Run your app and Grafana at visit http://localhost:3000

There is also a more detailed step-by-step guide here

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

You can’t perform that action at this time.