activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1663) Add enhanced message count and size metrics for Queues
Date Tue, 06 Feb 2018 03:28:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353304#comment-16353304
] 

ASF GitHub Bot commented on ARTEMIS-1663:
-----------------------------------------

Github user michaelandrepearce commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1853#discussion_r166178773
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/codec/PageCountRecordV2.java
---
    @@ -0,0 +1,63 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements. See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License. You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.activemq.artemis.core.persistence.impl.journal.codec;
    +
    +import org.apache.activemq.artemis.api.core.ActiveMQBuffer;
    +import org.apache.activemq.artemis.utils.DataConstants;
    +
    +public class PageCountRecordV2 extends PageCountRecord {
    --- End diff --
    
    Ditto as per other comment if v2 is needed.


> Add enhanced message count and size metrics for Queues
> ------------------------------------------------------
>
>                 Key: ARTEMIS-1663
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1663
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 2.4.0
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Major
>
> The purpose of this Jira is to enhance the message count metrics and to add size metrics
for Queues.   By size metrics I mean the encoded size of all the messages (for large messages
this will include body as well).  Right now we track memory usage but it is also very useful
to know exactly how much data is pending on a Queue to be consumed.  
> The scope of this will be support for tracking the count/size of pending messages,
count/size of delivering messages, and count/size of scheduled messages.  For each of these
categories durable size metrics will be tracked as well. The paging store will also support
tracking of size metrics as well.
> These new metrics will be exposed through JMX to allow users to view the statistics. 
Also by tracking these new values it will allow for enhanced features in the future (ie new
flow control options)
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message