aboutsummaryrefslogtreecommitdiff
path: root/kamon-newrelic/src/main/resources/reference.conf
blob: a1c1c4d39b89b3ce0cbe3137b285e4c57ae5ebc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ====================================== #
# Kamon-NewRelic Reference Configuration #
# ====================================== #

kamon {
  newrelic {

    # General ApdexT that applies to all Trace metrics reported.
    apdexT = 1 second

    # The application name that will be shown in the New Relic dashboard.
    app-name = "Kamon[Development]"

    # Your New Relic license key.
    license-key = "<put-your-key-here>"

    # Time to wait for a response when calling any of the New Relic collector API methods.
    operation-timeout = 30 seconds

    # attempts to send pending metrics in the next tick,
    # combining the current metrics plus the pending, after max-retry, deletes all pending metrics
    max-connect-retries = 3

    # delay between connection attempts to NewRelic collector
    connect-retry-delay = 30 seconds

    custom-metric-subscriptions {
      counter         = [ "**" ]
      histogram       = [ "**" ]
      min-max-counter = [ "**" ]
      gauge           = [ "**" ]
      akka-actor      = [ "**" ]
      akka-dispatcher = [ "**" ]
      akka-router     = [ "**" ]
    }
  }

  modules {
    kamon-newrelic {
      auto-start = yes
      requires-aspectj = no
      extension-id = "kamon.newrelic.NewRelic"
    }
  }
}