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

kamon {
  jdbc {
    slow-query-threshold = 2 seconds

    # Fully qualified name of the implementation of kamon.jdbc.SlowQueryProcessor.
    slow-query-processor = kamon.jdbc.DefaultSlowQueryProcessor

    # Fully qualified name of the implementation of kamon.jdbc.SqlErrorProcessor.
    sql-error-processor = kamon.jdbc.DefaultSqlErrorProcessor

    # Fully qualified name of the implementation of kamon.jdbc.JdbcNameGenerator that will be used for assigning names to segments.
    name-generator = kamon.jdbc.DefaultJdbcNameGenerator
  }

  modules {
    kamon-jdbc {
      auto-start = yes
      requires-aspectj = yes
      extension-id = "kamon.jdbc.Jdbc"
    }
  }
}