What happened?
Hi. Since I haven't received a response here, I decided to create a new issue. I configured the monitoring block in values.yaml and metrics-exporter is up and running, but it doesn't show me any metrics from the router, only its own. I couldn't find any documentation on how to configure metrics from a Selenium 4 router. Please explain what I need to configure in metrics-exporter so it can receive metrics from the router. Do I need to pass the router's address? If so, how do I do this correctly? I tried passing the SE_GRAPH_URL inside the Metrix-Exporter pod
kubectl set env deployment/selenium-grid-selenium-metrics-exporter SE_GRAPHQL_URL=https://selenium-grid-selenium-router:4444/graphql
, but that didn't help.
There is nothing in the exporter logs except for a record that it has started and is listening on port 9199.
What am I doing wrong?
kube-prometheus-stack is disabled. I have an external Prometheus stack.
Here are the monitoring settings in values.yaml:
monitoring:
enabledWithExistingAgent: true
exporter:
nameOverride: ""
imageRegistry: "docker-proxy.host"
imageName: "ricardbejarano/graphql_exporter"
imageTag: "latest"
# -- Custom pull secret for container in patch job
imagePullSecret: ""
port: 9199
service:
# -- Create a service for exporter
enabled: true
# -- Service type
type: ClusterIP
# -- Set specific clusterIP when serviceType is ClusterIP (see https://kubernetes.io/docs/concepts/services-networking/service/#type-clusterip)
clusterIP: ""
# -- Set specific externalName when serviceType is ExternalName (see https://kubernetes.io/docs/concepts/services-networking/service/#type-externalname)
externalName: ""
# -- Set specific loadBalancerIP when serviceType is LoadBalancer (see https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer)
loadBalancerIP: ""
# -- Node port for service
nodePort: 30199
# -- Set externalTrafficPolicy to Local or Cluster (see https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/)
externalTrafficPolicy: ""
# -- Set session affinity to None, ClientIP or ClientIPString
sessionAffinity: ""
replicas: 1
# -- Tolerations for exporter pods
tolerations: []
envFrom:
- configMapRef:
name: selenium-grid-selenium-exporter-config
additionalScrapeConfigs:
key: ""
value: ""
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9199"
prometheus.io/path: "/metrics"
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
2026/04/28 14:01:52 info: listening on http://0.0.0.0:9199
Operating System
Kubernetes
Docker Selenium version (image tag)
4.41.0
Selenium Grid chart version (chart version)
0.52.0
What happened?
Hi. Since I haven't received a response here, I decided to create a new issue. I configured the monitoring block in values.yaml and metrics-exporter is up and running, but it doesn't show me any metrics from the router, only its own. I couldn't find any documentation on how to configure metrics from a Selenium 4 router. Please explain what I need to configure in metrics-exporter so it can receive metrics from the router. Do I need to pass the router's address? If so, how do I do this correctly? I tried passing the SE_GRAPH_URL inside the Metrix-Exporter pod
kubectl set env deployment/selenium-grid-selenium-metrics-exporter SE_GRAPHQL_URL=https://selenium-grid-selenium-router:4444/graphql, but that didn't help.
There is nothing in the exporter logs except for a record that it has started and is listening on port 9199.
What am I doing wrong?
kube-prometheus-stack is disabled. I have an external Prometheus stack.
Here are the monitoring settings in values.yaml:
Command used to start Selenium Grid with Docker (or Kubernetes)
helm chart in kubernetesRelevant log output
Operating System
Kubernetes
Docker Selenium version (image tag)
4.41.0
Selenium Grid chart version (chart version)
0.52.0