Skip to content

Discrepancy with respect to OTel semantics in db call span #155

Open

Description

@findingrish

The semantics mandate the presence of net.peer.name or net.peer.ip and conditionally net.peer.port attributes.
These attributes are absent in the span reported by HT Java agent

Attaching the screen shot for a span.
Screenshot 2020-12-05 at 6 53 35 PM

cc @pavolloffay @davexroth

Activity

  1. findingrish commented on Dec 5, 2020

    @findingrish
    Author

    Also, according to the Otel semantics the key for Span kind is span_kind

  2. pavolloffay commented on Dec 7, 2020

    @pavolloffay
    Member

    @rish691 could you please provide link/quote to spec where it mandates these attributes? Is it here https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/semantic_conventions/database.md

    Also, according to the Otel semantics the key for Span kind is span_kind

    I assume the OTEL agent uses span_kind but then it gets converted to span.span in the OC service (collector). The platform should support span.kind orthogonally to this since it's a widely used tag.

  3. findingrish commented on Dec 7, 2020

    @findingrish
    Author

    Additional attribute requirements: At least one of the following sets of attributes is required:
    net.peer.name
    net.peer.ip

  4. pavolloffay commented on Dec 7, 2020

    @pavolloffay
    Member
  5. findingrish commented on Dec 7, 2020

    @findingrish
    Author

    I have a pr on the platform to handle this. So, this issue shouldn't block our testing at the moment.

  6. kotharironak commented on Dec 14, 2020

    @kotharironak

    I belive the change - https://github.com/hypertrace/hypertrace-ingester/pull/84/files - is supposed to do workaround.

  7. added
    help wantedExtra attention is needed
    and removed
    help wantedExtra attention is needed
    on Dec 9, 2024
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions