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

Stackdriver is not working on my Rails project #2142

Open
danicuki opened this issue Jun 20, 2018 · 5 comments
Open

Stackdriver is not working on my Rails project #2142

danicuki opened this issue Jun 20, 2018 · 5 comments
Assignees
Labels
api: clouddebugger Issues related to the Cloud Debugger API. api: clouderrorreporting Issues related to the Error Reporting API. api: cloudtrace Issues related to the Cloud Trace API. api: logging Issues related to the Cloud Logging API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@danicuki
Copy link

I am running a Rails 4.2.6 project. I added the stackdriver gem to my Gemfile config:

gem "stackdriver", '0.15.0'

and also added
config.google_cloud.project_id = <myprojectid>
to the app config. Still, nothing seems to work. No logs go to loggin, no traces, no debug, no error reporting. I tried to run the app both on GCE and also on my local machine configuring the service account json file. Nothing works.

What I am doing wrong? How can I easily check if stackdriver is properly configured in my project?

@JustinBeckwith JustinBeckwith added the triage me I really want to be triaged. label Jun 20, 2018
@quartzmo quartzmo added type: question Request for information or clarification. Not an issue. api: logging Issues related to the Cloud Logging API. api: clouderrorreporting Issues related to the Error Reporting API. api: cloudtrace Issues related to the Cloud Trace API. api: clouddebugger Issues related to the Cloud Debugger API. labels Jun 20, 2018
@JustinBeckwith JustinBeckwith removed the triage me I really want to be triaged. label Jun 20, 2018
@danicuki
Copy link
Author

I just noticed that some are actually working, but others not:

  • Tracing: it shows a bunch of lines with "empty" in the URI. Nothing useful
    screen shot 2018-06-22 at 1 57 22 pm

  • Debug: not working. Shows: The debugger could not find any applications to debug. Please follow these instructions to set up an agent for your application.
    screen shot 2018-06-22 at 1 57 37 pm

  • Profiling: does work for Ruby as long as I know :-(

  • Logs: are working, but they go under "GCE VM Instance" category logs. It took some time for me to find them

  • Error Reporting: Working fine.

@awinograd
Copy link

Same for me with stackdriver 0.15.3 and google-cloud-debugger 0.33.0 in a rails application

@fhinkel
Copy link

fhinkel commented Dec 7, 2020

Greetings, we're closing this due to inactivity. Please let us know if the issue needs to be reopened.

@fhinkel fhinkel closed this as completed Dec 7, 2020
@dazuma dazuma reopened this Dec 7, 2020
@dazuma
Copy link
Member

dazuma commented Dec 7, 2020

Reopening. This does need to be investigated and cleaned up.

To start off, version 0.20.0 of the stackdriver gem drops debugger for now.

@meredithslota meredithslota added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. and removed type: question Request for information or clarification. Not an issue. labels Aug 21, 2022
@meredithslota
Copy link
Contributor

Reclassifying based on @dazuma's comment above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: clouddebugger Issues related to the Cloud Debugger API. api: clouderrorreporting Issues related to the Error Reporting API. api: cloudtrace Issues related to the Cloud Trace API. api: logging Issues related to the Cloud Logging API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

7 participants