You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "João Reis (Jira)" <ji...@apache.org> on 2025/10/01 16:24:00 UTC
[jira] [Updated] (CASSGO-90) Don't collect host metrics if a query/batch observer is not provided
[ https://issues.apache.org/jira/browse/CASSGO-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
João Reis updated CASSGO-90:
----------------------------
Summary: Don't collect host metrics if a query/batch observer is not provided (was: Make QueryMetrics opt in)
> Don't collect host metrics if a query/batch observer is not provided
> --------------------------------------------------------------------
>
> Key: CASSGO-90
> URL: https://issues.apache.org/jira/browse/CASSGO-90
> Project: Apache Cassandra Go driver
> Issue Type: Improvement
> Components: Core
> Reporter: João Reis
> Assignee: João Reis
> Priority: Normal
> Fix For: 2.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> In 2.0.0-rc1 we got rid of query object pooling so the extra allocs associated with QueryMetrics are unnecessary when query metrics are not even being used by the user and I believe the majority of users isn't using them so making them opt-in makes more sense.
> In this context Query Metrics are associated with the methods:
> * Iter.Latency
> * ObservedQuery.Metrics
> * ObservedBatch.Metrics
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org