Questions tagged [google-cloud-stackdriver]

Use it when asking a question related to Google Operations (ex Stackdriver) service

Google Cloud’s operations suite (formerly Stackdriver) is designed to monitor, troubleshoot, and improve cloud infrastructure, software, and application performance.

For more details check https://cloud.google.com/products/operations

726 questions
7
votes
0 answers

Getting Stackdriver Deadline Exceeded with Service Unavailable

I am using the Google Cloud Stackdriver, logging from a GKE using a code snippet similar to: import google.cloud.logging logging_client = google.cloud.logging.Client() # connects the logger to the root logging handler cloud_logger =…
7
votes
0 answers

How do I nest app logs in request log and also tag it with an operation id?

When I use Google App Engine, I can: (A) nest app logs (e.g. the info log below) (B) see the summary of a request log in the top "collapsed" row (C) get tags with an operation id that I can click to easily filter the log stream by Is it possible…
7
votes
4 answers

Stackdriver error reporting with gcloud

I'm retying to use the gcloud cli to send events to StackDriver Error Reporting. The (very limited) documentation is here: https://cloud.google.com/sdk/gcloud/reference/beta/error-reporting/events/report Regardless of what I send as a message I seem…
6
votes
3 answers

Firebase Functions logging objects takes up a lot of space

We have our firebase function console.log() an object near the end of the execution. In the past it always clumped the entire object into one single dropdown in the Firebase Functions Log interface but now it seems to put each key of the object in…
6
votes
3 answers

Add custom information to the Stackdriver error log in Firebase Functions

I'm using Firebase functions along with Stackdriver. Stackdriver is very well integrated with Firebase functions, so I can easily log errors with the console.error command. But, I want to record not only about error object but also query…
6
votes
0 answers

Stack Driver logging with SLF4J not logging properly in scala

I am using Logback with SLF4J for Stackdriver logging and I am following the example from Google Cloud. My application is written in Scala and running on Dataproc cluster on GCP. logback.xml have the following contents.
6
votes
2 answers

One or more points were written more frequently than the maximum sampling period configured for the metric

Background I have a website deployed in multiple machines. I want to create a Google Custom Metric that specifies the throughput of it - how many calls were served. The idea was to create a custom metric that collects information about served…
No1Lives4Ever
  • 6,430
  • 19
  • 77
  • 140
6
votes
1 answer

How to send and filter structured logs from dataflow job

The goal is to store audit logging from different apps/jobs and be able to aggregate them by some ids. We chose to have BigQuery for that purpose and so we need to get a structured information from the logs to the BigQuery. We successfully use apps…
6
votes
1 answer

How to log Stackdriver log messages correlated by trace id using stdout Go 1.11

I'm using Google App Engine Standard Environment with the Go 1.11 runtime. The documentation for Go 1.11 says "Write your application logs using stdout for output and stderr for errors". The migration from Go 1.9 guide also suggests not calling the…
Andy Fusniak
  • 1,548
  • 1
  • 17
  • 28
6
votes
1 answer

Where can I find Stackdriver in Firebase console?

I've read in this article that Firestore has launched Stackdriver (in beta) so we can monitor Cloud Firestore read, write and delete operations in near-real time but where can I find it in Firebase console?
6
votes
1 answer

Stackdriver Error reporting for Ruby, running on GKE

Which steps are required to collect errors from a Rails app running on GKE? I have added the stackdriver gem to my Rails app and I have created a custom role with the errorreporting.errorEvents.create permission. That role is given to the Compute…
6
votes
1 answer

Stackdriver Log Agent - Log Level Irrelevant with Google Cloud Logging Driver for Docker

TL,DR; Log levels are ignored when making a Stackdriver logging API call using using a CloudLoggingHandler from a Docker container using the Google Cloud Logging driver. Detail; The recommended way to get logs from a Docker container running on…
Jack
  • 10,313
  • 15
  • 75
  • 118
6
votes
5 answers

Using Python to Query GCP Stackdriver logs

I am using Python3 to query Stackdriver for GCP logs. Unfortunately, the log entries that have important data are returned to me as "NoneType" instead of as a "dict" or a "str". The resulting "entry.payload" is type "None" and the "entry.payload_pb"…
6
votes
0 answers

perform arithmetic on stack driver metrics

These aren't custom metrics I'm trying to add just the existing GCP metrics. How do I add 2 metrics together in a Stack driver time series? I have two different metrics and I want to sum them so I see a single line- also I'd like to be able to alert…
6
votes
1 answer

Arithmetic operations for Stackdriver monitoring charts

I'm trying to setup a Stackdriver dashboard for my custom metrics that my services provide. In particular I'm starting with general custom/grpc/time_ms metric that is a gauge and have status label on it. I'd love to be able to set up a chart and…
1 2
3
48 49