Skip to content

Wrong duration for DB transaction event #92

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]

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