All Projects → saksdirect → Sbt Newrelic

saksdirect / Sbt Newrelic

Licence: mit
New Relic monitoring integration for SBT with sbt-native-packager

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Sbt Newrelic

Sbt Play Gulp
Gulp asset pipeline for Play Framework
Stars: ✭ 38 (-56.32%)
Mutual labels:  sbt, playframework
sbt-sass
A fork of the sbt-sass repository which seems to be abandoned.
Stars: ✭ 32 (-63.22%)
Mutual labels:  sbt, playframework
Sbt Frege
Frege support for sbt
Stars: ✭ 51 (-41.38%)
Mutual labels:  sbt
Sbt Dirty Money
clean Ivy2 cache
Stars: ✭ 84 (-3.45%)
Mutual labels:  sbt
Scala Js Chrome
ScalaJS bindings for Chrome Extention/App and ChromeOS APIs
Stars: ✭ 73 (-16.09%)
Mutual labels:  sbt
Play Scala Slick Example
Example Play Scala project with Slick
Stars: ✭ 59 (-32.18%)
Mutual labels:  playframework
Sbt Dependency Graph
sbt plugin to create a dependency graph for your project
Stars: ✭ 1,223 (+1305.75%)
Mutual labels:  sbt
Finagle Metrics
Easy way to send Finagle metrics to Codahale Metrics library
Stars: ✭ 41 (-52.87%)
Mutual labels:  sbt
Play Java Websocket Example
Example Play Java application showing Websocket usage with Akka actors
Stars: ✭ 86 (-1.15%)
Mutual labels:  playframework
Hepek
Web content generators in Scala. Intuitive, scalable, powerful.
Stars: ✭ 69 (-20.69%)
Mutual labels:  playframework
Proscalafx
Pro JavaFX2 book source codes translated to ScalaFX
Stars: ✭ 83 (-4.6%)
Mutual labels:  sbt
Play Json Schema Validator
JSON Schema Validation with Play JSON
Stars: ✭ 68 (-21.84%)
Mutual labels:  playframework
Scala Graalvm Docker
Docker images to build and generate native artifacts using GraalVM
Stars: ✭ 60 (-31.03%)
Mutual labels:  sbt
Play Ebean
Play Ebean module
Stars: ✭ 82 (-5.75%)
Mutual labels:  playframework
Play Spark Scala
Stars: ✭ 51 (-41.38%)
Mutual labels:  sbt
Scala Play Angular Seed
🍀 Scala Play 2.7.x + Angular 8 with Angular CLI seed project with full-fledged build process
Stars: ✭ 85 (-2.3%)
Mutual labels:  sbt
Sbt Multi Jvm
Multi-JVM testing in sbt
Stars: ✭ 50 (-42.53%)
Mutual labels:  sbt
Ore
Repository software for Sponge plugins and Forge mods
Stars: ✭ 63 (-27.59%)
Mutual labels:  sbt
Cfp Devoxx
Call for Papers application created for Devoxx France, used by many conferences
Stars: ✭ 79 (-9.2%)
Mutual labels:  playframework
Android Vertical Stepper View
A vertical stepper implementation of the material design specification
Stars: ✭ 87 (+0%)
Mutual labels:  sbt

sbt-newrelic

Join the chat at https://gitter.im/gilt/sbt-newrelic

newrelic support for any artifacts built with sbt-native-packager

Useful Links

The following is a list of useful links related to newrelic:

Prerequisites

The plugin assumes that sbt-native-packager has been included in your SBT build configuration. This can be done by adding the plugin following instructions at http://www.scala-sbt.org/sbt-native-packager/ or by adding another plugin that includes and initializes it (e.g. the SBT plugin for Play 2.6.x).

Installation for sbt-native-packager 1.3.1 or newer (and Play 2.6.x or newer)

Add the following to your project/plugins.sbt file:

addSbtPlugin("com.gilt.sbt" % "sbt-newrelic" % "0.3.3")

Installation for sbt-native-packager 1.0.x/1.1.x (and Play 2.4.x/2.5.x)

Add the following to your project/plugins.sbt file:

addSbtPlugin("com.gilt.sbt" % "sbt-newrelic" % "0.1.16")

To enable NewRelic for your project, add the NewRelic auto-plugin to your project.

enablePlugins(NewRelic)

Configuration

To use a specific New Relic Java Agent version, add the following to your build.sbt file:

newrelicVersion := "5.1.0"

To add a New Relic license key to the generated newrelic.yml file, add the following to your build.sbt file:

newrelicLicenseKey := Some("1234567890abcdef")

An alternative approach is to pass the license key to your application via the NEW_RELIC_LICENSE_KEY environment variable.

To enable custom tracing, add the following to your build.sbt file:

newrelicCustomTracing := true

To include the New Relic client API in your project's library dependencies, add to your build:

newrelicIncludeApi := true

To provide a static newrelic.yml file instead of a generated file, place the file somewhere (e.g. resourceDirectory, which is conf/ by default for Play applications, or src/main/resources for many other builds), and refer to it from your build like this:

newrelicConfig := (resourceDirectory in Compile).value / "newrelic.yml"

By default, the agent will not report Scala Futures as transaction segments, and they will not contribute to the transaction's reported total time. If you want to enable this, you can add:

newrelicFuturesAsSegments := true

The application name reported to New Relic may be modified by setting newrelicAppName, the default value is the name of the project.

newrelicAppName := "My Application"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].