Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/engagesoftware/elm-application-insights


https://github.com/engagesoftware/elm-application-insights

application-insights elm

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Elm Application Insights
---
Native library for sending tracking information from Elm to Application Insights.

DISCLAIMER: All functions here are purely side effect function, but it shouldn't modify the data you pass to the function, and should return it as is.

Example:
```elm
import AppInsights

-- You can send string
AppInsights.trackEvent "This is the event message"

-- You can also send arbritary value like records
AppInsights.trackEvent { id = 1, value = "One" }

-- You can also add this to a pipe
{ data = "One" }
|> ..
|> AppInsights.trackEvent
|> updateData
|> ..
```