This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Commit 7601e4d
feat: Client side metrics support for mutateRows (#1638)
* Add metrics collector hooks in the right places
* Move readrows tests over
* Group ReadRows under separate describe block
* Add mutateRows tests
* Add onResponse to mutateRows collection
* Eliminate the extra mutateRows calls
* Change the test frame to work without inserting
* Remove console traces
* Remove the error console log
* Inserts will conflate results for readRows too
* Remove only
* Remove only
* Remove the extra onResponse call
* Include onOperationComplete in the callback
* Remove the onOperationComplete call
* Get rid of error code fragment
* onResponse handler moved into metrics collector
* Rename handleStatusAndMetadata
* Add comments, shorten snippet
* Add the wrapRequest method to the mock
* Pass null along instead
* Add retries comment
* Use the same setup table code as before
* Rename method to setupBigtableWithInsert
* Keep setupBigtable name as setupBigtable
* Eliminate unused import
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* Run the linter
* Make sure the table is set up properly, but don’t
add a mutateRow call for the handlers tests
* Remove only
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent afcd78f commit 7601e4d
9 files changed
Lines changed: 1046 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
344 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
345 | 371 | | |
346 | 372 | | |
347 | 373 | | |
| |||
387 | 413 | | |
388 | 414 | | |
389 | 415 | | |
390 | | - | |
| 416 | + | |
391 | 417 | | |
392 | 418 | | |
393 | 419 | | |
394 | 420 | | |
395 | 421 | | |
396 | 422 | | |
397 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
398 | 428 | | |
399 | 429 | | |
400 | 430 | | |
401 | 431 | | |
| 432 | + | |
402 | 433 | | |
403 | 434 | | |
404 | 435 | | |
| |||
411 | 442 | | |
412 | 443 | | |
413 | 444 | | |
414 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
415 | 449 | | |
416 | 450 | | |
417 | 451 | | |
| |||
425 | 459 | | |
426 | 460 | | |
427 | 461 | | |
428 | | - | |
| 462 | + | |
429 | 463 | | |
430 | 464 | | |
431 | | - | |
| 465 | + | |
432 | 466 | | |
433 | 467 | | |
| 468 | + | |
434 | 469 | | |
| 470 | + | |
435 | 471 | | |
436 | 472 | | |
437 | 473 | | |
| |||
469 | 505 | | |
470 | 506 | | |
471 | 507 | | |
472 | | - | |
473 | | - | |
| 508 | + | |
| 509 | + | |
474 | 510 | | |
475 | 511 | | |
476 | 512 | | |
477 | 513 | | |
478 | 514 | | |
479 | | - | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
480 | 518 | | |
481 | 519 | | |
482 | 520 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
417 | 416 | | |
418 | 417 | | |
419 | 418 | | |
| |||
0 commit comments