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

Mongo probe may be broken on lastest Mongoid/Mongo #157

Open
johnnyshields opened this issue Oct 15, 2020 · 5 comments
Open

Mongo probe may be broken on lastest Mongoid/Mongo #157

johnnyshields opened this issue Oct 15, 2020 · 5 comments

Comments

@johnnyshields
Copy link
Contributor

I'm no longer getting any Mongo information in my traces. On Skylight 5.0.0-beta and Mongoid/Mongo near latest master

@zvkemp
Copy link
Contributor

zvkemp commented Oct 19, 2020

Hi @johnnyshields! I'm not seeing an issue with mongo 2.14.0.rc1 or mongoid 7.1.4 on our latest master; can you please provide the specific version(s) or git shas you are using of the mongo/mongoid ruby gems and your mongodb version?

@johnnyshields
Copy link
Contributor Author

I'm seeing this warning:

W, [2020-10-26T16:01:21.512578 #22]  WARN -- Skylight: trace=732e898f-0601-4f60-8bf4-61f2213d7535; Unknown meta keys will be ignored; keys=[:database]

It appears related to line 116 of the mongo probe:

              meta:        { database: event.database_name }

@zvkemp
Copy link
Contributor

zvkemp commented Oct 27, 2020

Ok, that's helpful. I will look into it and report back.

@madwire
Copy link

madwire commented Jun 28, 2022

Hello, did this issue ever get resolved? We are not getting any mongo information in our traces

Ruby: 2.7
Rails: 6.1.6
Skylight: 5.3.2
Mongoid: 7.2.6
Mongo: 2.17.1

@zvkemp
Copy link
Contributor

zvkemp commented Jun 28, 2022

Hi @madwire, we test the Skylight agent with similar gem versions, and I've just confirmed that the tests pass with your exact gem versions, so I don't believe there is an inherent issue. There may be something in your specific config or another gem interacting with the probe. Feel free to share what you can here or contact us directly at support@skylight.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants