Skip to content

feat: add CLIENT SETNAME for connection identification#3365

Open
atao2004 wants to merge 1 commit into
deepset-ai:mainfrom
atao2004:feat/add-client-name
Open

feat: add CLIENT SETNAME for connection identification#3365
atao2004 wants to merge 1 commit into
deepset-ai:mainfrom
atao2004:feat/add-client-name

Conversation

@atao2004
Copy link
Copy Markdown

Related Issues

Proposed Changes:

Adds client_name="haystack_vector_store_client" to all 4 Glide client configurations (sync/async, standalone/cluster) in document_store.py. This sends a CLIENT SETNAME command on connection, making Haystack connections identifiable in CLIENT LIST, monitoring dashboards, and CloudWatch metrics.

How did you test it?

Manual verification — client_name is a metadata-only parameter passed to the Glide client configuration. It does not alter any behavior, only sets the connection name visible in CLIENT LIST.

Notes for the reviewer

Zero-risk change — client_name is a standard parameter on GlideClientConfiguration (and all variants). It sends CLIENT SETNAME after connecting. No behavioral changes.

Checklist

Adds client_name="haystack_vector_store_client" to all 4 Glide client
configurations (sync/async, standalone/cluster) so connections are
identifiable via CLIENT LIST on the server.

Fixes deepset-ai#3356

Signed-off-by: Anna Tao <annatao2004@gmail.com>
@atao2004 atao2004 requested a review from a team as a code owner May 28, 2026 20:53
@atao2004 atao2004 requested review from julian-risch and removed request for a team May 28, 2026 20:53
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link
Copy Markdown
Contributor

Coverage report (valkey)

This PR does not seem to contain any modification to coverable code.

@julian-risch
Copy link
Copy Markdown
Member

Thank you for raising the issue and opening this pull request @atao2004 ! We need you to agree to the CLA please before we can merge this pull request. #3365 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CLIENT SETNAME to Valkey document store for connection identification

3 participants