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
6
votes
1 answer

How to query BigQuery usage with v2 of the StackDriver API?

I planned to track BigQuery usage using the StackDriver API and there is a nice tutorial on setting this up here. However, the queries here use the deprecated v1 of the API and the available documentation is also still for v1. In the BigQuery…
hoju
  • 28,392
  • 37
  • 134
  • 178
6
votes
0 answers

Stackdriver JVM monitoring in Google Container Engine (Kubernetes)

I've read the docs here regarding standalone JVM monitoring with stackdriver (so that one can get GC insights etc), but how do one enable this in a good way when running on Google Container Engine? We're running multiple JVM's in Docker on the same…
Johan
  • 37,479
  • 32
  • 149
  • 237
5
votes
1 answer

GCP Stackdriver alert on metric not absent

there are some metrics in GCP's Stackdriver like f.e. serviceruntime.googleapis.com/quota/exceeded that appear when there is a problem and are absent (not 0) if there is no more problem. The problem is I cannot set up alerting to auto-resolve,…
5
votes
1 answer

.NetCore log output wrong severity in GCP Stackdriver

The default log entry of a .netcore app is being written to the stdout and interpreted by the GCP Stackdriver as an info message, even if it is an error. Is there a way to write .netcore errors to the stderr or configure them somehow so that…
Kiramm
  • 331
  • 3
  • 19
5
votes
1 answer

Setup a Big Query Alert when no table row update/upload takes place

what's the best way to set up a Big Query alert per Email when no data was uploaded to a Big Query table for longer than one day? What comes to my mind is: Stackdriver Pub Sub Cloud Function But I am not sure whats the fastest and best way to do…
5
votes
2 answers

stackdriver monitoring api in a dataflow project

I'm just starting out using Apache Beam on Google Cloud Dataflow. I have a project set up with a billing account. The only things I plan on using this project for are: 1. dataflow - for all data processing 2. pubsub - for exporting stackdriver logs…
5
votes
1 answer

Create an Incident and Notifications in Stackdriver when a GKE Workload has Issues

I have a gke cluster with some workloads that can have boot issues. is it possible to create a stackdriver notification when a workload runs into an issue. For example: create an incident when CrashLoopBackOff is triggered, pods are unshedulable or…
Laures
  • 5,389
  • 11
  • 50
  • 76
5
votes
1 answer

How to tracing a request through a chain of microservices end-to-end?

I am using OpenCensus in Go to push tracing data to Stackdriver for calls involving a chain of 2 or more micro services and I noticed that I get many traces which contain spans only for certain services but not the entire end to end call. At the…
5
votes
3 answers

Stackdriver Alerting Policy notification in Microsoft Teams

Any update here Any way to receive Google Stackdriver Alerting Policy to Microsoft Teams? I tried via the "Static Webhook" option in Stackdriver and using a webhook incoming connector in Teams but this is not working. Is this still not compatible?…
5
votes
2 answers

Google App Engine why some Logs are not getting shown?

In Google App Engine Flexible environment many Logs are skipping, and not getting shown in the Logging console, and it is happening always, I am checking it on Stackdriver Logging section on Google Cloud dashboard, the Logs I am showing using…
5
votes
3 answers

Can I monitor multiple projects in one place using Google Cloud Platform?

I have multiple projects in GCP and I am trying to read all my projects' logs in one place. Any suggestions?
5
votes
3 answers

BigQuery unable to insert job. Workflow failed

I need to run a batch job from GCS to BigQuery via Dataflow and Beam. All my files are avro with the same schema. I've created a dataflow java application that is successful on a smaller set of data (~1gb, about 5 files). But when I try to run it on…
andrew
  • 51
  • 1
  • 4
5
votes
2 answers

Google IOT per device heartbeat alert using Stackdriver

I'd like to alert on the lack of a heartbeat (or 0 bytes received) from any one of large number of Google IOT core devices. I can't seem to do this in Stackdriver. It instead appears to let me alert on the entire device registry which does not give…
7hacker
  • 1,928
  • 3
  • 19
  • 32
5
votes
0 answers

Stackdriver does not show proper level for the logs written using slf4j with log4j2

I have a web application deployed on GAE. I am using log4j2 implementation of SLF4j for logging purpose. I can see all my logs on stackdriver console. But the level for all my logs is shown as info under stackdriver. It's not categorized properly…
5
votes
0 answers

How to filter application log lines in request_log for Google App Engine app

In Google App Engine logs console (https://console.cloud.google.com/logs/) we can filter request_log entries and it's working fine. But how can we filter application log lines associated with request log entry? I tried it with no success. For…
falouu
  • 124
  • 1
  • 8