/Yaaf.ApplicationInsights

Yaaf.ApplicationInsights is a simple helper library for using Microsofts ApplicationInsights with F# (designed for System.Diagnostic.TraceSource / Yaaf.Logging).

Primary LanguageF#Apache License 2.0Apache-2.0

Yaaf.ApplicationInsights

Join the chat at https://gitter.im/matthid/Yaaf

Build status

Development Branch

Build Status Build status

Master Branch

Build Status Build status

Overview

This is a very thin layer on top of https://github.com/Microsoft/ApplicationInsights-dotnet/ for F# and mono compatibility. Because I also needed "profile111" support this package bundles Microsoft.ApplicationInsights and has therefore no dependency to it. I changed some things such that it is compilable on a mono system and removed an incompatible module (using the EventListener class). Besides some removed functionality this are the unmodified bits (in fact we copy the original files in the build process via paket).

Note some files like CoreEventSource.cs are included and modified slightly (see git history for details)

The dependency to Yaaf.Logging is required because we replaced the Event-Logging feature with logging to regular TraceSource with the "Microsoft.applicationinsights" source name. Additionally Yaaf.Logging allows us to compile for portable profiles and lets you choose the concrete implementation in the main application. (Because System.Diagnostics is not available on most portable profiles but it is available on most platforms you can most likely use it).