Skip to content

Commit

Permalink
Added 'session.enabled' and 'node.enabled' into application.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Nov 13, 2023
1 parent 814c002 commit 56273ed
Showing 1 changed file with 52 additions and 3 deletions.
55 changes: 52 additions & 3 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
################################################################################
# Copyright 2021-2021 Exactpro (Exactpro Systems Limited)
# Copyright 2021-2023 Exactpro (Exactpro Systems Limited)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,56 @@
################################################################################

datastax-java-driver {
advanced.protocol {
compression = lz4
advanced {
protocol.compression = lz4
metrics {
factory.class = MicrometerMetricsFactory

session.enabled = [
bytes-sent,
bytes-received
connected-nodes,
cql-requests,
cql-client-timeouts,
cql-prepared-cache-size,
throttling.delay,
throttling.queue-size,
throttling.errors,
continuous-cql-requests,
graph-requests,
graph-client-timeouts
]
node.enabled = [
pool.open-connections,
pool.available-streams,
pool.in-flight,
pool.orphaned-streams,
bytes-sent,
bytes-received,
cql-messages,
errors.request.unsent,
errors.request.aborted,
errors.request.write-timeouts,
errors.request.read-timeouts,
errors.request.unavailables,
errors.request.others,
retries.total,
retries.aborted,
retries.read-timeout,
retries.write-timeout,
retries.unavailable,
retries.other,
ignores.total,
ignores.aborted,
ignores.read-timeout,
ignores.write-timeout,
ignores.unavailable,
ignores.other,
speculative-executions,
errors.connection.init,
errors.connection.auth,
graph-messages
]
}
}
}

0 comments on commit 56273ed

Please sign in to comment.