spark-cassandra-connector icon indicating copy to clipboard operation
spark-cassandra-connector copied to clipboard

SPARKC-712: Update metrics for read and writes via DSV2

Open siadat opened this issue 1 year ago • 2 comments

Description

How did the Spark Cassandra Connector Work or Not Work Before this Patch

Metrics are not updated for read and writes performed via DSV2. The values returned are all 0s.

General Design of the patch

InputMetricsUpdater and OutputMetricsUpdater are used in the DSV2 read (including joins and counts) and write paths.

Fixes: SPARKC-712

How Has This Been Tested?

A couple of integration tests were added.

Checklist:

  • [x] I have a ticket in the OSS JIRA: https://datastax-oss.atlassian.net/browse/SPARKC-712
  • [x] I have performed a self-review of my own code
  • [x] Locally all tests pass (make sure tests fail without your patch)

siadat avatar Jul 30 '24 12:07 siadat

Hi @jacek-lewandowski Sorry for tagging, I was wondering if I could get your review on this PR. Thanks.

siadat avatar Sep 11 '24 10:09 siadat

The GHA checks didn't run… guessing we have a failure in .github/workflows/main.yml

michaelsembwever avatar May 27 '25 18:05 michaelsembwever