GeezerVison is showing github.com — getApplicationDefault is undefined. · Issue #121 · GoogleCloudPlatform/nodejs-docs-samples
getApplicationDefault is undefined. #121Labels 🚨This issue needs some love.triage meI really want to be triaged. Activityneoadventist commented on Jun 8, 2016 trying to use this with stackdriver. jmdobry commented on Jun 8, 2016 neoadventist commented on Jun 8, 2016 @jmdobry yeah got it working now. I did not have the GOOGLE_APPLICATION_CREDENTIALS env set. now i'm trying to get the custom metric to be visible on a dashboard. Do you know where I can go to for that? jmdobry commented on Jun 8, 2016 Have you looked through https://app.google.stackdriver.com/ for your custom metric? You might have to write some data to the custom metric before it will show up. You also might have to create a new dashboard or alert targeting the metric. @waprin probably knows more. neoadventist commented on Jun 8, 2016 There are a thousand sub-menus, but I can't find the metric when I try to add a graph.
 waprin commented on Jun 8, 2016 You should see "Custom Metrics" as an option under "Resource Type". If you don't, you probably haven't successfully created any custom metric descriptors. neoadventist commented on Jun 8, 2016 @waprin any documentation to show me on how to do that? neoadventist commented on Jun 8, 2016 so I can successfully create it under the code but not see it in the UI until i make a descriptor? waprin commented on Jun 8, 2016 You are creating a metric descriptor, you create metrics when you actually write values to it. As soon as you create it you should be able to see it, one guess at your problem is by default the sample code deletes the metric descriptor after creating it. This was in the interest of keeping projects cleaned up, check to make sure you've commented that part out. waprin commented on Jun 8, 2016 Unfortunately I agree the docs no the UI are a bit sparse, working on improving that now but nothing's ready yet.
MetadataMetadata🚨This issue needs some love.triage meI really want to be triaged. DevelopmentNo branches or pull requestsIssue actions
|