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

set non-root user in Dockerfile #83

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

zhangguanzhang
Copy link
Contributor

@zhangguanzhang zhangguanzhang commented Nov 3, 2023

for security, We should't need root to run. which like https://github.com/prometheus/mysqld_exporter/blob/main/Dockerfile#L11C1-L11C19
@Slach PTAL

@CLAassistant
Copy link

CLAassistant commented Nov 3, 2023

CLA assistant check
All committers have signed the CLA.

@zhangguanzhang
Copy link
Contributor Author

@Slach PTAL

@Slach
Copy link
Collaborator

Slach commented Nov 6, 2023

@zhangguanzhang did you try to use embedded prometheus support for clickhouse-server https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#prometheus instead of external exporter?

@Slach Slach merged commit 5c07d59 into ClickHouse:master Nov 6, 2023
1 check passed
@zhangguanzhang
Copy link
Contributor Author

@zhangguanzhang did you try to use embedded prometheus support for clickhouse-server https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#prometheus instead of external exporter?

Version 20.3.9.70 does not appear to include the Prometheus client

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

Successfully merging this pull request may close these issues.

3 participants