Skip to content

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

Open
pvital wants to merge 2 commits intomainfrom
fix_span_kind
Open

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

Conversation

@pvital
Copy link
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

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

1 participant