Skip to content

refactor(span): Use of thekind parameter.#855

Merged
pvital merged 2 commits intomainfrom
fix_span_kind
Mar 26, 2026
Merged

refactor(span): Use of thekind parameter.#855
pvital merged 2 commits intomainfrom
fix_span_kind

Conversation

@pvital
Copy link
Copy Markdown
Member

@pvital pvital commented Mar 25, 2026

To maintain OpenTelemetry API compliance, this PR changes the Span structure to use OTel's SpanKind as a parameter while creating a new InstanaSpan or ReadableSpan. It also updates the tests.

This commit fixes #813.

@pvital pvital self-assigned this Mar 25, 2026
To maintain OpenTelemetry API compliance, this commit changes the
`InstanaSpan` to use OTel's `SpanKind` as a parameter during the span
creation.

This commit fixes #813.

Signed-off-by: Paulo Vital <paulo.vital@ibm.com>
This commit updates all tests to use the `kind` parameter while
creating a new `InstanaSpan` or `ReadableSpan`.

This commit fixes #813.

Signed-off-by: Paulo Vital <paulo.vital@ibm.com>
@pvital pvital added refactor OTel OpenTelemetry compatibility. labels Mar 25, 2026
@pvital pvital marked this pull request as ready for review March 25, 2026 14:12
@pvital pvital requested a review from a team as a code owner March 25, 2026 14:12
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@GSVarsha GSVarsha left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@pvital pvital merged commit 1bae12b into main Mar 26, 2026
19 checks passed
@pvital pvital deleted the fix_span_kind branch March 26, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OTel OpenTelemetry compatibility. refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Kind Parameter of start_span has no affect

2 participants