Skip to content

Clickhouse Keeper prometheus endpoint setup #1844

@noobHappylife

Description

@noobHappylife

Is there any example that shows how to setup the clickhouse keeper with proper prometheus metrics endpoint?

I've tried adding the following annotation to the podTemplates:

annotations:
  prometheus.io/port: "7000"
  prometheus.io/scrape: "true"

and apply the grafanadashboard with the following.

apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
  name: clickhouse-keeper-dashboard
  namespace: clickhouse-operator-system
spec:
  resyncPeriod: 30s
  instanceSelector:
    matchLabels:
      dashboards: grafana
  allowCrossNamespaceImport: true
  configMapRef:
    name: clickhouse-operator-altinity-clickhouse-operator-dashboards
    key: ClickHouseKeeper_dashboard.json

However, on grafana what I see is all "error". While the clickhouse operator and queries dashboard is working fine.

Image

Metadata

Metadata

Assignees

Labels

KeeperClickHouse Keeper issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions