# Cp rest proxy metrics

**URL:** https://forum.confluent.io/t/cp-rest-proxy-metrics/4598
**Category:** Ops
**Created:** [27 March 2022 20:54 UTC](https://forum.confluent.io/t/cp-rest-proxy-metrics/4598 "2022-03-27T20:54:41Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![pkinuk](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@pkinuk](https://forum.confluent.io/u/pkinuk)
#### Post date: [27 September 2024 14:06 UTC](https://forum.confluent.io/t/cp-rest-proxy-metrics/4598/14 "2024-09-27T14:06:47Z")

</div>

Hi @mmuehlbeyer, I’ve raised the similar in [How to enable the metrics in rest proxy](https://forum.confluent.io/t/how-to-enable-the-metrics-in-rest-proxy/11591) and then I came across this thread.

I’ve followed your suggestion in [github](https://github.com/mmuehlbeyer/kafka-ops/blob/d6195b5aaf1f66254b87a99891c1aa809744d1fe/code_snippets/cp-rest-proxy-kompose/rest-proxy-deployment.yaml), but I still can’t access the jmx/metric endpoint at port 1095

I use confluentinc/cp-kafka-rest:7.7.1 and it is also deployed to k8s cluster. Would you please help me get this fix? I’ve googled a lot but I couldn’t find any helpful suggestions.

Thanks

```auto
            - name: KAFKA_REST_JMX_OPTS
              value: -Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1095 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.rmi.port=1095
            - name: KAFKA_REST_JMX_PORT
              value: "1095"

```

---

_[View the full topic](https://forum.confluent.io/t/cp-rest-proxy-metrics/4598)._
