Option 1 would be my preference. Seems both useful to have a single metric for read load against the table and a way to break out SAI reads specifically.
On Fri, Dec 1, 2023 at 11:00 AM Mike Adamson <madam...@datastax.com> wrote: > Hi, > > We are looking at adding SAI post-filtering reads to the local table > metrics and would like some feedback on the best approach. > > We don't think that SAI reads are that special so they can be included in > the table latencies, but how do we handle the global counts and the SAI > counts? Do we need to maintain a separate count of SAI reads? We feel the > answer to this is yes so how do we do the counting? There are two options > (others welcome): > > 1. All reads go into the current global count and we have a separate count > for SAI specific reads. So non-SAI reads = global count - SAI count > 2. We leave the exclude the SAI reads from the current global count so > total reads = global count + SAI count > > Our preference is for option 1 above. Does anyone have any strong views / > opinions on this? > > > > -- > [image: DataStax Logo Square] <https://www.datastax.com/> *Mike Adamson* > Engineering > > +1 650 389 6000 <16503896000> | datastax.com <https://www.datastax.com/> > Find DataStax Online: [image: LinkedIn Logo] > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_datastax&d=DwMFaQ&c=adz96Xi0w1RHqtPMowiL2g&r=IFj3MdIKYLLXIUhYdUGB0cTzTlxyCb7_VUmICBaYilU&m=uHzE4WhPViSF0rsjSxKhfwGDU1Bo7USObSc_aIcgelo&s=akx0E6l2bnTjOvA-YxtonbW0M4b6bNg4nRwmcHNDo4Q&e=> > [image: Facebook Logo] > <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.facebook.com_datastax&d=DwMFaQ&c=adz96Xi0w1RHqtPMowiL2g&r=IFj3MdIKYLLXIUhYdUGB0cTzTlxyCb7_VUmICBaYilU&m=uHzE4WhPViSF0rsjSxKhfwGDU1Bo7USObSc_aIcgelo&s=ncMlB41-6hHuqx-EhnM83-KVtjMegQ9c2l2zDzHAxiU&e=> > [image: Twitter Logo] <https://twitter.com/DataStax> [image: RSS > Feed] <https://www.datastax.com/blog/rss.xml> [image: Github Logo] > <https://github.com/datastax> > >