Questions tagged [stackdriver]

Monitoring, logging, and diagnostics for applications on Google Cloud Platform and AWS.

Part of Google Cloud Platform Google Stackdriver includes monitoring, logging, & diagnostics like Stackdriver Monitoring (aka Google Cloud Monitoring).


Docs:

  • Monitoring - collects metrics, events, and metadata from GCP/AWS/Anthos or custom metrics. Generates insights via dashboarts, charts and alert.
  • Logging - allows to store, search, analyze, monitor, and alert on log data and events from GCP or AWS
  • Error Reporting - aggregates and displays errors produced in users running cloud services.
  • APM
    • Debugger - lets user inspect the state of an application, at any code location, without stopping or slowing down the running app
    • Trace - a distributed tracing system for Google Cloud Platform that collects latency data
    • Profiler - a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications
966 questions
0
votes
1 answer

Stackdriver logs have same timestamp for app engine background threads

I am using background_thread from google.appengine.api in an app engine standard application to create a thread that polls a pull task queue every 30 seconds for new tasks. App engine is grouping the logs per run into /_ah/background entries on…
0
votes
2 answers

Google Cloud Storage & Stackdriver Logging: how to read storage bucket logs with "gcloud"?

I am trying to read the server-side logs for the buckets in my Google Cloud Storage project via the gcloud command-line program (to solve an error I get using the storage client). It does not seem like the logs are available in the Stackdriver…
0
votes
1 answer

Google IOT device telemetry to stackdriver

I'd like to use Google IOT to periodically send out custom telemetry which I'd like to ingest into Stackdriver for alerting purposes. Is this doable? As far as I can tell, I cannot seem to load up custom events or telemetry in Stackdriver. A naive…
7hacker
  • 1,928
  • 3
  • 19
  • 32
0
votes
1 answer

Stackdriver alert triggered despite the metric being in the normal range

We have a strange issue with Stackdriver alerts in our project. We have set up an alert that triggers if a log metric falls below a threshold, and just recently it has triggered an alert despite the logs being normal. The graph in the alert page…
john2x
  • 22,546
  • 16
  • 57
  • 95
0
votes
0 answers

Adding oauth2 authentication token to stackdriver logs

I am using winston library for logging in a Node.js + Express application deployed on google cloud platform. I am using winston library to output the logs to the console and 'Stackdriver Logging Winston plugin' [@google-cloud/logging-winston] to…
abhi
  • 25
  • 1
  • 1
  • 5
0
votes
1 answer

Exporting stackdriver logs into Google Cloud Storage as csv files

I am running a Node.js application deployed to Google App Engine. I am using the winston library in addition with 'Stackdriver Logging Winston plugin' [@google-cloud/logging-winston]. [Link to the tutorial for setting up winston logging] [Link to…
0
votes
1 answer

How to view C++ application Core Dumps generated inside Docker Containers through FluentD for GCE

I'm running a c++ application inside my Kubernetes Cluster. With the help of GCE StackDriver and fluentd-gcp, I'm able to see my application logs. Now, I would like to see code dumps (generated if my app crashes) through GCE StackDriver interface ..…
0
votes
1 answer

Stackdriver Node.js Logging not showing up

I have a Node.js application, running inside of a Docker container and logging events using Stackdriver. It is a Node.Js app, running with Express.js and Winston for logging and using a StackDriverTransport. When I run this container locally,…
Guillaume
  • 1,051
  • 1
  • 11
  • 15
0
votes
2 answers

stack-driver No source version information was provided by the deployed application with ruby

hello i have a ruby project , i have installed the gem stackdriver and in my config/environments*rb file i have require "google/cloud/debugger" debugger = Google::Cloud::Debugger.new( project: "my-project", keyfile:…
cjmash
  • 173
  • 1
  • 2
  • 10
0
votes
1 answer

Error pushing custom metric to Google Stackdriver

I'm getting the following error while trying to push custom metrics from my code to Google Stackdriver. I'm using the Java SDK. Caused by: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Unknown metric: custom.googleapis.com/jvm/heap/used (cannot…
Adam Sandor
  • 382
  • 1
  • 11
0
votes
1 answer

StackDriver Custom Metric for Nodejs event loop latency

I am trying to construct a custom metric for Google StackDriver that I can use to track nodejs event loop latencies. All the apps are running in Google AppEngine so I am confined to using the monitored resource global (at least to my…
nover
  • 2,259
  • 1
  • 27
  • 27
0
votes
1 answer

What are Stackdriver Monitoring limits on the global resource?

I'm trying to understand if Stackdriver Monitoring is a good fit for IoT monitoring with the concept of custom metrics for the "global" resource and device id as a label. according to…
0
votes
2 answers

Stackdriver Alert based on service status

Is it possible to setup an alert based on the status of a custom service. For example, stackdriver-agent service crashed at one point. When running 'service stackdriver-agent status" I receive an 'Active: inactive (dead)' response. Is it possible…
glux
  • 532
  • 7
  • 23
0
votes
1 answer

How to extract an instance uptime based on incidents?

On stackdriver, creating an Uptime Check gives you access to the Uptime Dashboard that contains the uptime % of your service: My problem is that uptime checks are restricted to http/tcp checks. I have other services running and those services…
robertokl
  • 1,869
  • 2
  • 18
  • 28
0
votes
1 answer

Stackdriver increased interval

Is it possible to increase/change the frequency of the data that is collected by Stackdriver? I am running Jenkins in a GKE cluster and am getting an error ERROR: missing workspace /home/jenkins/workspace/. I am trying to determine if the node it is…
Peter W
  • 1,324
  • 1
  • 14
  • 23