GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error flag manually set to a gRPC server span gets overwritten · Issue #8042 · DataDog/dd-trace-java

Error flag manually set to a gRPC server span gets overwritten #8042

New issue
Copy link
New issue
Copy link
Closed
Bug
Closed
Error flag manually set to a gRPC server span gets overwritten#8042
Bug
Copy link
Assignees
amarziali
Labels
inst: grpcgRPC instrumentationtype: bug reportBug report
Milestone
1.44.0

Description

@sdwa0
sdwa0
opened on Dec 2, 2024
Issue body actions

GrpcServerDecorator overwrites an error flag manually set to a gRPC server span, based on the status code returned by the gRPC server. That shouldn't be overwritten.

The behavior was slightly different before #7505, which was released in v1.39.0. Before the change, the gRPC server instrumentation code overwrote the error flag only when the gRPC server returned an error. Now, it overwrites the error flag regardless of the server response status.

Similar to what HttpServerDecorator does (introduced in #5359), GrpcServerDecorator can set the error flag with a lower priority.

Reacted by Kristoffer Rosén and Walerian Sobczak

Activity

  1. amarziali
    self-assigned this
    on Dec 2, 2024
  2. amarziali
    added
    type: bug fixBug fix
    inst: grpcgRPC instrumentation
    on Dec 2, 2024
  3. amarziali commented on Dec 2, 2024

    @amarziali
    amarziali
    on Dec 2, 2024
    Contributor
    More actions

    That's for having opened that issue and well detailed it. I think it makes sense. I opened a PR for it.

  4. amarziali
    added this to the 1.44.0 milestone on Dec 2, 2024
  5. github-actions commented on Dec 12, 2024

    @github-actions
    github-actionsBot
    on Dec 12, 2024 – with GitHub Actions
    Contributor
    More actions

    🤖 This issue has been addressed in the latest release. Check full details in the Release Notes.

  6. github-actions
    closed this as completedon Dec 12, 2024
  7. PerfectSlayer
    added
    type: bug reportBug report
    and removed
    type: bug fixBug fix
    on Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @amarziali
    amarziali

Labels

inst: grpcgRPC instrumentationtype: bug reportBug report

Type

Bug

Projects

No projects

    Milestone

    • 1.44.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.