Skip to content

Shivaneep o11y tracer helper - #9070

Draft
shivanee-p wants to merge 4 commits into
shivaneep-o11y-flagfrom
shivaneep-o11y-tracer-helper
Draft

Shivaneep o11y tracer helper#9070
shivanee-p wants to merge 4 commits into
shivaneep-o11y-flagfrom
shivaneep-o11y-tracer-helper

Conversation

@shivanee-p

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new helper file TracerHelper.ts to support observability tracing, defining context interfaces and helper functions. The review feedback points out a syntax error where backticks are used instead of single quotes for an import statement, as well as an unused import dependency.

Comment on lines +1 to +2
import { context, trace, Tracer } from `@opentelemetry/api`;
import * as grpc from '@grpc/grpc-js';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

critical

Using template literals (backticks) for import module specifiers is a syntax error in TypeScript. Additionally, the @grpc/grpc-js import is unused in this file. Use single quotes for the import and remove the unused dependency.

Suggested change
import { context, trace, Tracer } from `@opentelemetry/api`;
import * as grpc from '@grpc/grpc-js';
import { context, trace, Tracer } from '@opentelemetry/api';

@shivanee-p
shivanee-p force-pushed the shivaneep-o11y-tracer-helper branch from 200ed4b to a70e4f5 Compare August 4, 2026 01:55
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