Skip to content

Commit

Permalink
chore: Bump instrumentation-qdrant 0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Jun 17, 2024
1 parent dc7cf31 commit 5789b73
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
31 changes: 30 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/instrumentation-qdrant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@traceloop/instrumentation-qdrant",
"version": "0.8.6",
"version": "0.8.8",
"description": "Qdrant Instrumentation",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
6 changes: 4 additions & 2 deletions packages/instrumentation-qdrant/src/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,11 @@ export class QdrantInstrumentation extends InstrumentationBase<any> {
}) {
try {
switch (methodName) {
case SEARCH: this._setSearchResultAttributes(span, result as SearchResponse);
case SEARCH:
this._setSearchResultAttributes(span, result as SearchResponse);
break;
default:
break;
default: break;
}
span.setStatus({ code: SpanStatusCode.OK });
span.end();
Expand Down

0 comments on commit 5789b73

Please sign in to comment.