Class BrokerStatsBase

    • Constructor Detail

      • BrokerStatsBase

        public BrokerStatsBase()
    • Method Detail

      • getMetrics

        @GET
        @Path("/metrics")
        public java.util.Collection<org.apache.pulsar.common.stats.Metrics> getMetrics()
                                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getMBeans

        @GET
        @Path("/mbeans")
        public java.util.Collection<org.apache.pulsar.common.stats.Metrics> getMBeans()
                                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTopics2

        @GET
        @Path("/destinations")
        public javax.ws.rs.core.StreamingOutput getTopics2()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getAllocatorStats

        @GET
        @Path("/allocator-stats/{allocator}")
        public org.apache.pulsar.common.stats.AllocatorStats getAllocatorStats​(@PathParam("allocator")
                                                                               java.lang.String allocatorName)
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPendingBookieOpsStats

        @GET
        @Path("/bookieops")
        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats>> getPendingBookieOpsStats()
      • getLoadReport

        @GET
        @Path("/load-report")
        public org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport getLoadReport()
                                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • internalBrokerResourceAvailability

        protected java.util.Map<java.lang.Long,​java.util.Collection<ResourceUnit>> internalBrokerResourceAvailability​(org.apache.pulsar.common.naming.NamespaceName namespace)