googleapis / googleapis/google-cloud-php

Add bigtable-attempt to request metadata when the RPC is a retry attempt

Open
#7,413 2 comments 0 reactions 1 assignee Claimed by @bshaffer View on GitHub
api: bigtable type: feature request
Dominant language
PHP
Stars
1.2k
Forks
463
Avg merge
2d 1h
Merged PRs (30d)
145

Description

Thanks for stopping by to let us know something could be better!

**Is your feature request related to a problem? Please describe.**
Improve observability of network issues from the bigtable server side.

**Describe the solution you'd like**
When the initial RPC fails, the retry attempts that occur afterwards should populate `bigtable-attempt` request metadata. The first retry attempt should set the value to 1. If that fails, the 2nd attempt should set it to 2, etc. Please note that the initial RPC should not set the header.
This will increase feature parity with java-bigtable.

**Describe alternatives you've considered**
Adding clientside metrics - would give us similar info, but will take a lot longer to implement and will have gaps due to possible connectivity issues with stackdriver

Logging - logging failed attempts can alert customers to retries occuring. However during support cases the customer would have to be aware of this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.