Skip to content

Wrong duration for DB transaction event #92

@wangzlei

Description

@wangzlei

[Steps to reproduce the issue]

  • Create a Ruby on rails application with the X-Ray SDK for Ruby middleware [3] to send requests to the Database.
    • Create a Model and a corresponding Controller.
    • Define routing URL pattern corresponding to the Controller.
  • Start the X-Ray daemon.
  • Send a request to the created application.
  • Confirm the the time duration for the trace in the X-Ray console.

As a result, the start_time of a subsegment during a DB operation was set to a time in the distant future.

[Investigation]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions