Skip to content

Profiling instrumentation scope version is 0.2.0, spec requires 0.1.0 #704

Description

@pmcollins

Summary

The profiling instrumentation scope version used in log records does not match the version required by the GDI specification.

Spec requirement

GDI Specification v1.8.0 — semantic_conventions.md:

Each `InstrumentationLibraryLogs` instance:

  • `name` - MUST be set to `otel.profiling`
  • `version` - MUST be set to `0.1.0`

Current state

src/splunk_otel/profile.py:37:

_SCOPE_VERSION = "0.2.0"

The scope name otel.profiling is correct, but the version is 0.2.0 instead of 0.1.0.

Expected

Either:

  1. Change _SCOPE_VERSION to "0.1.0" to match the spec, or
  2. Confirm this is an intentional deviation and document the rationale

References

  • src/splunk_otel/profile.py:37

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions