I used the helm chart zeebe-cluster-helm to build the zeebe cluster, the cluster itself works fine, I can deploy workflow and create instance inside it.
below is the related svc, pods.
I make the gateway service nodeport type.
so I can visit the metrics endpoint http://gateway:port/metrics and below is the only zeebe metrics I can see.
But actually there should be much more metrics like below.
I also tried to refer to the zeebe/gateway.yaml.template at main · camunda/zeebe · GitHub and add the environment variable ZEEBE_GATEWAY_MONITORING_ENABLED to true in the helm chart and redeploy the chart.
but it only add one more metrics ‘zeebe_gateway_topology_partition_roles’
So what I want is how to display all the metrics like zeebe_stream_processor_events_total,zeebe_running_workflow_instances_total,zeebe_pending_jobs_total,zeebe_incident_events_total in the endpoint gateway:port/metrics for the zeebe cluster.
one more thing I want to mention is that if I start a standalone zeebe broker with builtin gateway in the port 9600(without docker or k8s), then I can visit the host:9600/metrics to get all the zeebe metrics.