score:0
you should only need the newrelic.jar and newrelic.yml files to be accessible and have -javaagent:path/to/newrelic.jar
passed to the jvm as an argument. you could try putting both newrelic.jar and newrelic.yml into your lib/ directory so they get copied to the job & task managers, then adding this to your conf/flink-conf.yaml:
env.java.opts: -javaagent:lib/newrelic.jar
both new relic files should be in the same directory and you ought to be able to remove the new relic line from your build.sbt file. also double check that your license key is in the newrelic.yml file.
i haven't tested this but the main goal is for the .yml and .jar to be accessible in the same directory(the yml can go into a different directory but other jvm arguments will need to be passed to reference it) and to pass -javaagent:path/to/newrelic.jar
to as a jvm argument. if you run into issues try checking for new relic logs in the log folder of the directory where the .jar is located.
Source: stackoverflow.com
Related Query
- integrate newrelic in flink scala project
- How to integrate Spark with Scala project in IntelliJ IDE?
- Integrate µTest (micro test) for Scala into a Gradle project
- How can I integrate scala library in android project
- Pros and cons of using sbt vs maven in Scala project
- Enforcing Java version for Scala project in sbt?
- How to fully clean, re-resolve and rebuild a Scala sbt-managed project in IDEA?
- No 'scala-library*.jar' in every new IntelliJ Scala Project
- "object index is not a member of package views.html" when opening scala play project in scala ide
- Intellij scala worksheet can't find project classes
- Scala Compiler not found in Intellij IDEA 11 with Play 2.0 project
- Scala and Clojure both in one project
- How to integrate Scala into core Android platform?
- IntelliJ IDEA 13: new Scala SBT project hasn't src directory structure generated
- Integrating Scala into an existing project in Java
- How do I find the correct Maven archetype project for developing with Scala in Eclipse?
- IntelliJ 14 - Create / Import a Scala / SBT project
- Creating the most basic Scala project with Maven?
- Extracting the complete call graph of a scala project (tough one)
- Scala project won't compile in Eclipse; "Could not find the main class."
- How to initialize a new Scala project in sbt, Eclipse and github
- Simultaneous Java and Scala development within the same project
- Errors in Eclipse for Scala project generated by Play Framework
- Maven: mixing Java and Scala in one project
- Trying to cross compile a project to Scala 2.11 fails with "error while loading Object, Missing dependency 'object scala in compiler mirror'"
- Creating new Scala project using SBT?
- Mixing Scala and Java files in an Eclipse project
- What's the recommended way to make a Scala project available to the community?
- running a maven scala project
- Scala project organization
More Query from same tag
- Condense several columns read with Spark CSV
- Scala: wake up sleeping thread
- Deserialization case class from ByteString
- how to get oldest month data using datetime column in spark dataframe(Scala)?
- How to write to a csv file in scala?
- Pattern Match build multiple Seqs
- how can I inject a keep-alive into a websocket handler in akka-http?
- Scala implicit context resolution
- How to flatMap a function on GroupedDataSet in Apache Flink
- Dynamically create and setup scenarios
- reading header of each part in multipart request in Scala Play
- Getting cors errors in Scala Play Framework v2.6.x
- Set attribute to a list of data.tables from a list of names
- Case class with function as parameter
- Zip multiple sequences
- When anonfun$1 becomes anonfun$m1$1 (or vice versa) in Scala?
- Idea 14 Play Scala Project
- How to delete the last line of the file in scala?
- Why sometimes the scala compiler interpret in a different way white spaces and dots
- How to generate short, reasonably non-sequential keys in Scala (unique web links)
- Monad Transformer stacks in Scala
- Spark dataframe explode pair of lists
- Spark aggregateByKey reduceByKey - aggregation (e.g collection) must be thread safe?
- Scala- How to use Join operator with tuple'2 and tuple'3
- Play Framework: showing image via html
- How can I fix evicted libraries and ambiguous reference error in Scala (Akka 2.4.0)?
- Apache Spark - MLlib - K-Means Input format
- scala and abstract type "unboxing"
- How to convert Map[A,Future[B]] to Future[Map[A,B]]?
- Play Framework: how to refer to a template in another sub-project