Skip to content

feat: add CLIENT SETNAME for connection identification#3513

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

feat: add CLIENT SETNAME for connection identification#3513
atao2004 wants to merge 3 commits 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 June 30, 2026 15:57
@atao2004 atao2004 requested review from julian-risch and removed request for a team June 30, 2026 15:57
@github-actions github-actions Bot added integration:valkey type:documentation Improvements or additions to documentation labels Jun 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (valkey)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/valkey/src/haystack_integrations/document_stores/valkey
  document_store.py 242, 280-281
Project Total  

This report was generated by python-coverage-comment-action

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

Labels

integration:valkey type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CLIENT SETNAME to Valkey document store for connection identification

1 participant