aboutsummaryrefslogtreecommitdiff
path: root/kamon-datadog/src/main/resources/reference.conf
blob: ca42316881e4a5d2a89b5e44ee73d96477417da5 (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
# ===================================== #
# Kamon-Datadog Reference Configuration #
# ===================================== #

kamon {
  datadog {
    # Hostname and port in which your Datadog is running. Remember that Datadog packets are sent using UDP and
    # setting unreachable hosts and/or not open ports wont be warned by the Kamon, your data wont go anywhere.
    hostname = "127.0.0.1"
    port = 8125

    # Interval between metrics data flushes to Datadog. It's value must be equal or greater than the
    # kamon.metrics.tick-interval setting.
    flush-interval = 10 seconds

    # Max packet size for UDP metrics data sent to Datadog.
    max-packet-size = 1024 bytes

    # Subscription patterns used to select which metrics will be pushed to Datadog. Note that first, metrics
    # collection for your desired entities must be activated under the kamon.metrics.filters settings.
    subscriptions {
      trace         = [ "**" ]
      actor         = [ "**" ]
      dispatcher    = [ "**" ]
      user-metric   = [ "**" ]
      system-metric = [ "**" ]
      http-server   = [ "**" ]
    }

    # Application prefix for all metrics pushed to Datadog. The default namespacing scheme for metrics follows
    # this pattern:
    #    application.entity-name.metric-name
    application-name = "kamon"
  }

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