Skip to content

Add support for X-Weaviate-Client-Integration header#3

Open
mpartipilo wants to merge 1 commit intomainfrom
feat/integration-header
Open

Add support for X-Weaviate-Client-Integration header#3
mpartipilo wants to merge 1 commit intomainfrom
feat/integration-header

Conversation

@mpartipilo
Copy link
Copy Markdown
Collaborator

Introduce automatic handling of the X-Weaviate-Client-Integration header in the managed client, allowing SDK consumers to append their own identity. This enhancement improves traffic identification for the Weaviate server and facilitates the development of higher-level frameworks.

AddWeaviateContext() automatically appends "weaviate-client-csharp-managed/version"
to the X-Weaviate-Client-Integration header via IConfigureOptions<WeaviateOptions>,
so the Weaviate server can identify managed ORM traffic in metrics.

SDK consumers building higher-level frameworks on top of the managed client
should append their own identity at the core DI layer:
  services.AddWeaviate(opts => opts.AddIntegration("my-framework/1.0"));

For non-DI usage, ClientConfiguration.WithManagedIntegrationHeader() sets
the header on the configuration before passing it to WeaviateClient.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant