No prometheus metrics after upgrade from KIC v1.0.0 -> v1.3.4

Hi Kong Nation,

Our Kong Ingress Controller on GKE 1.21 no longer shows any metrics after the upgrade.
We upgraded KIC 1.0.0 (Helm Chart 1.10.0) to KIC 1.3.4 (Helm Chart 2.3.0) , and we are running Kong version 2.0.5-2 (same version across upgrade).

In KIC 1.0.0 we see the metrics endpoint with containerPort: 9542:

    name: proxy
    ports:
    - containerPort: 8001
      name: admin
      protocol: TCP
    - containerPort: 8444
      name: admin-tls
      protocol: TCP
    - containerPort: 8443
      name: proxy-tls
      protocol: TCP
    - containerPort: 9542
      name: metrics
      protocol: TCP

IN KIC 1.3.4 we don’t see the metrics port:

    name: proxy
    ports:
    - containerPort: 8001
      name: admin
      protocol: TCP
    - containerPort: 8444
      name: admin-tls
      protocol: TCP
    - containerPort: 8443
      name: proxy-tls
      protocol: TCP
    - containerPort: 8100
      name: status
      protocol: TCP

The /status endpoint displays JSON, which prometheus can’t scrape:

{"database":{"reachable":true},"memory":{"workers_lua_vms":[{"http_allocated_gc":"0.03 MiB","pid":23}..

KongClusterPlugin prometheus is installed and remains unchanged across the upgrade.
I’ve read through Integrate the Kubernetes Ingress Controller with Prometheus/Grafana - v1.3.x | Kong Docs, but it’s unclear to me how the metrics are exposed by KIC…

And after we resolve this issue, we’ll be upgrading to KIC 2.x, so we can upgrade GKE to 1.22

Thanks in advance,

Best regards,
AJ

Actually nevermind, I was able to figure this out. I tried changing both of the following:

prometheus.io/port: "8100"
prometheus.io/path: "/status"

The correct configuration is:

prometheus.io/port: "8100"
prometheus.io/path: "/metrics"