Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question related to TLS for clickhousetraces exporter #314

Open
somnusfish opened this issue Apr 16, 2024 · 1 comment
Open

Question related to TLS for clickhousetraces exporter #314

somnusfish opened this issue Apr 16, 2024 · 1 comment

Comments

@somnusfish
Copy link

Hi,

The sample deployment from signoz chart uses tcp for clickhousetraces, is there anyway to configure TLS for the exporter? If yes, could you provide an example on how to do that?

https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml#L1912-L1914

datasource: tcp://${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/?database=${CLICKHOUSE_TRACE_DATABASE}&username=${CLICKHOUSE_USER}&password=${CLICKHOUSE_PASSWORD}
        low_cardinal_exception_grouping: ${LOW_CARDINAL_EXCEPTION_GROUPING}
@srikanthccv
Copy link
Member

This is the updated config https://github.com/SigNoz/charts/blob/main/charts/signoz/values.yaml#L1936. You would add secure=true&skip_verify=true to the connection string.

Example

tcp://${CLICKHOUSE_USER}:${CLICKHOUSE_PASSWORD}@${CLICKHOUSE_HOST}:${CLICKHOUSE_PORT}/${CLICKHOUSE_TRACE_DATABASE}?secure=true&skip_verify=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants