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

David Capwell commented on CASSANDRA-15569:
-------------------------------------------

Ok, looks like there is a test org.apache.cassandra.metrics.TableMetricsTest 
which tests to make sure we double count.  Ill try to remove my dtest test in 
favor of this, and will update the test to make sure we don't double count.

> StorageProxy updateCoordinatorWriteLatencyTableMetric can produce misleading 
> metrics
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15569
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15569
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Coordination, Legacy/Local Write-Read Paths, 
> Observability/Metrics
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.0-alpha
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If multiple mutations affect the same table, then metrics will get posted 
> multiple times to the same table.
> [Circle 
> CI|https://circleci.com/gh/dcapwell/cassandra/tree/coordinatorWriterMetricDoubleCounts]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to