Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ Need help? Contact [Datadog support][10].
[7]: https://docs.datadoghq.com/agent/guide/agent-commands/#agent-status-and-information
[8]: https://github.com/DataDog/integrations-core/blob/master/clickhouse/metadata.csv
[9]: https://github.com/DataDog/integrations-core/blob/master/clickhouse/assets/service_checks.json
[10]: https://docs.datadoghq.com/help/
[10]: https://docs.datadoghq.com/help/
1 change: 1 addition & 0 deletions clickhouse/changelog.d/21886.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable autogenerate session id
2 changes: 2 additions & 0 deletions clickhouse/datadog_checks/clickhouse/clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def connect(self):
compress=self._compression,
ca_cert=self._tls_ca_cert,
verify=self._verify,
# https://clickhouse.com/docs/integrations/language-clients/python/driver-api#multi-threaded-applications
autogenerate_session_id=False,
# https://clickhouse.com/docs/integrations/python#settings-argument
settings={},
)
Expand Down
1 change: 1 addition & 0 deletions clickhouse/tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def test_config(instance):
client_name='datadog-test-clickhouse',
compress=False,
settings={},
autogenerate_session_id=False,
)


Expand Down
Loading