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

Vladislav Pyatkov commented on IGNITE-26670:
--------------------------------------------

After discussion we decided to make the metrics available on each node (not 
only in an active actor placement driver).
For the reason we illuminated a part that is contained in any cluster node: 
*active leases* (number of accepted leases), *lease negotiations* (number of 
negotiations that are currently continuing), and *replication groups* (the 
total number of replication groups, each of them needing accepted leases).

{noformat}
placement-driver [AcceptedLeases=22, LeaseNegotiations=35, ReplicationGroups=57]
{noformat}


> Placement driver metrics confusing
> ----------------------------------
>
>                 Key: IGNITE-26670
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26670
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> h3. Motivation
> The placement driver metric periodically prints in a log:
> {noformat}
> placement-driver [ActiveLeasesCount=25, CurrentPendingAssignmentsSize=0, 
> CurrentStableAssignmentsSize=25, LeasesCreated=25, LeasesProlonged=1379, 
> LeasesPublished=25, LeasesWithoutCandidates=0]
> {noformat}
> But in any node except for the placement driver active actor, it prints like 
> this:
> {noformat}
> placement-driver [ActiveLeasesCount=0, CurrentPendingAssignmentsSize=0, 
> CurrentStableAssignmentsSize=25, LeasesCreated=0, LeasesProlonged=0, 
> LeasesPublished=0, LeasesWithoutCandidates=0]
> {noformat}
> Definition of done:
> There are two ways that I see:
> * Print the actual placement-driven state in each node
> * Print something that unmistakably defines that the metrics are unavailable 
> because the node is not an active actor.



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

Reply via email to