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

  metrics {
    precision {
      jdbc {
        statements {
          reads = ${kamon.metrics.precision.default-histogram-precision}
          writes = ${kamon.metrics.precision.default-histogram-precision}
        }
      }
    }
  }
}