c-w / spark-metrics-application-insights

Spark metrics adapter for Application Insights

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spark-metrics-application-insights

Build Status

What's this?

Spark Metrics integration for Application Insights.

Usage example

import com.github.catalystcode.spark.telemetry

val appInsightsKey = "SET ME"
telemetry.setup(appInsightsKey)

val timerName = "SET ME"
telemetry.timer(timerName).timeFn({
  // some spark code here
})

telemetry.flush()

About

Spark metrics adapter for Application Insights

License:MIT License


Languages

Language:Scala 56.5%Language:Java 43.5%