kfaraz commented on code in PR #20247:
URL: https://github.com/apache/druid/pull/20247#discussion_r3965592823


##########
docs/operations/metrics.md:
##########
@@ -468,6 +471,8 @@ These metrics are emitted by the Druid Coordinator in every 
run of the correspon
 |`segment/underReplicated/count`|Number of segments, including replicas, left 
to load until all used segments are available for queries.|`tier`, 
`dataSource`|0|
 |`segment/availableDeepStorageOnly/count`|Number of unique segments that are 
only available for querying directly from deep storage.|`dataSource`|Varies|
 |`tier/historical/count`|Number of available historical nodes in each tier. 
The `tierAlias` dimension is emitted only when the tier belongs to an alias 
configured via 
[`historicalTierAliases`](../configuration/index.md#dynamic-configuration), and 
can be used to aggregate metrics across the tiers in an alias.|`tier`, 
`tierAlias`|Varies|
+|`tier/historical/clone/count`|Number of historical nodes in a tier which are 
a clone of another historical in the same or different tier. The `tierAlias` 
dimension is emitted only when the tier belongs to an alias configured via 
[`historicalTierAliases`](../configuration/index.md#dynamic-configuration), and 
can be used to aggregate metrics across the tiers in an alias.|`tier`, 
`tierAlias`|Varies|
+|`tier/historical/clone/synced`|Number of historical clones in a tier which 
are now synced with their source server. |`server`, `tier`|Varies|

Review Comment:
   I chose a delta metric originally since we are already emitting the other 
metric `segment/clone/pendingSync/count` as a gauge. But it is probably cleaner 
to have the `clone/synced` metric as a gauge too with a 1/0 value.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to