microsoft / microsoft/semantic-kernel

[MEVD] Implement telemetry in vector store connectors

Open
#10,596 3 comments 1 reaction 1 assignee View on GitHub

@dmytrostruk is already working on this.

Since Feb 18, 2025.

.NET memory connector msft.ext.vectordata sk team issue stale
Dominant language
C#
Stars
28.6k
Forks
4.8k
Avg merge
14h 13m
Merged PRs (30d)
18

Description

Consider implementing telemetry in vector store connectors. At the moment, it should be possible to use the telemetry from underlying SDKs, but it's not clear if all the SDKs have the telemetry implemented. Another potential issue is that the telemetry from underlying SDKs can be different and not consistent. Having the same telemetry for all the connectors will ensure consistency in logs, metrics and traces for all supported vector stores. For connectors implemented outside of this repository, it will be possible to create a documentation with telemetry guidelines or publish a NuGet package with common telemetry methods so connector developers can re-use it.

  • Code changes
    • Implement Logging decorators
    • Implement OpenTelemetry decorators
    • Implement Delegating{Service} base classes.
    • Investigate potential interface casting issues
  • Concepts/GettingStarted examples
    • Add telemetry examples for HybridSearch and VectorizableTextSearch
  • Learn documentation
  • Updates to release pipeline
  • Blog post

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.