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

Stepanov Ilya commented on IGNITE-18434:
----------------------------------------

Checked in persistent mode. Problem still reproducible.

My config:
{code:java}
<property name="dataStorageConfiguration">
        <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
            <property name="defaultDataRegionConfiguration">
                <bean 
class="org.apache.ignite.configuration.DataRegionConfiguration">
                    <property name="persistenceEnabled" value="true"/>
                </bean>
            </property>
        </bean>
</property>
{code}
 

Steps:

1) Start node with persistent=true

2) Activate cluster

3) change buckets for TaskExecutionTime in StripedExecutor (register name 
threadPools.StripedExecutor.TaskExecutionTime)

4) deactivate and stop cluster

5) Start node with persistent=true

6) Check metrics in JMX "org.apache:group=threadPools,name=StripedExecutor"

 

After restart, custom histogram buckets are not aplied.

 

Additionally:
Bucket settings are displayed in metastorge (in system views)

> Сustom histogram buckets not applied after restart
> --------------------------------------------------
>
>                 Key: IGNITE-18434
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18434
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.14
>            Reporter: Stepanov Ilya
>            Priority: Minor
>              Labels: ise
>
> Setting custom buckets for "TaskExecutionTime" metric in 
> "threadPools.\{thread_pool_name}" register is not applied after node restart.
>  
> Steps to reproduce: 
> 1) Start node
> 2) change buckets for TaskExecutionTime in StripedExecutor (via 
> configureHistogramMetric 
> [https://javadoc.io/static/org.apache.ignite/ignite-core/2.14.0/org/apache/ignite/mxbean/MetricsMxBean.html#configureHistogramMetric-java.lang.String-long:A-])
> 3) Check metrics in JMX "org.apache:group=threadPools,name=StripedExecutor"
> 4) Restart node
> 5) Check metrics in JMX "org.apache:group=threadPools,name=StripedExecutor"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to