Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ray's executed_query event not showing query details #84

Closed
dangnhdev opened this issue Oct 26, 2023 · 2 comments
Closed

Ray's executed_query event not showing query details #84

dangnhdev opened this issue Oct 26, 2023 · 2 comments
Assignees
Labels
bug Something isn't working ui:bug

Comments

@dangnhdev
Copy link

When the SEND_QUERIES_TO_RAY is set to true, it send queries to ray but buggregator not showing the query as in the image.
ray executed_query event

When click on JSON, the output contain executed query.

{
  "uuid": "5d703749-c3dd-43aa-b72e-27848efbef52",
  "type": "ray",
  "payload": {
    "uuid": "5d703749-c3dd-43aa-b72e-27848efbef52",
    "payloads": [
      {
        "type": "executed_query",
        "content": {
          "sql": "select * from \"users\" where \"id\" = 0 limit 1",
          "connection_name": "pgsql",
          "time": 20.12
        },
        "origin": {
          "file": "D:\\project_name\\vendor\\laravel\\framework\\src\\Illuminate\\Auth\\EloquentUserProvider.php",
          "line_number": 59,
          "hostname": "PC"
        }
      }
    ],
    "meta": {
      "php_version": "8.2.10",
      "php_version_id": 80210,
      "project_name": "project_name",
      "laravel_version": "10.28.0",
      "laravel_ray_package_version": "1.33.0.0",
      "ray_package_version": "1.39.0.0"
    },
    "peaks": {
      "wt": 0,
      "ct": 0,
      "mu": 0,
      "pmu": 0
    },
    "edges": []
  },
  "timestamp": 1698304850,
  "project_id": null
}

Is this expected or is a bug?

@butschster
Copy link
Member

Hi @dangnhdev!
Could you check the latest version?

@butschster butschster self-assigned this Oct 26, 2023
@butschster butschster added bug Something isn't working ui:bug labels Oct 26, 2023
@dangnhdev
Copy link
Author

This was fixed in latest version.
Thank you for this great package 🥰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui:bug
Projects
Archived in project
Development

No branches or pull requests

2 participants