Skip to content

[FR] FR-021: support replica clickhouse table #2403

Open
@zyxfei

Description

@zyxfei

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

In an enterprise environment, based on reliability considerations, we usually use the external clickhouse cluster with the sharding function enabled. Currently, Deepflow does not support writing to the replicamergetree clickhouse table. We hope to support this feature, thank you

Use case

in helm chart

externalClickHouse:
    enabled: true  ## Enable external ClickHouse
    type: ep

    ## External ClickHouse clusterName,The default value is 'default', query method:  'select cluster,host_address,port from system.clusters;'
    clusterName: sharding_ha
    enableReplica: true
    ...

in deepflow configmap

    database: xx
    host: deepflow-external-clickhouse
    port: 9000
    timeout: 60
    user-name: xx
    user-password: xx
    enableReplica: true

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions