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
36
votes
3 answers

How make a filter "does not contain" in Google Stackdriver logs

In Google Stackdriver advanced filter I can insert something like: resource.type="container" resource.labels.cluster_name="mycluster" textPayload!="Metric stackdriver_sink_successfully_sent_entry_count was not found in the…
suikoy
  • 2,229
  • 3
  • 19
  • 23
23
votes
5 answers

Monitoring and alerting on pod status or restart with Google Container Engine (GKE) and Stackdriver

Is there a way to monitor the pod status and restart count of pods running in a GKE cluster with Stackdriver? While I can see CPU, memory and disk usage metrics for all pods in Stackdriver there seems to be no way of getting metrics about crashing…
19
votes
1 answer

Django, Apache2 on Google Kubernetes Engine writing Opencensus Traces to Stackdriver Trace

I have a Django web app served from Apache2 with mod_wsgi in docker containers running on a Kubernetes cluster in Google Cloud Platform, protected by Identity-Aware Proxy. Everything is working great, but I want to send GCP Stackdriver traces for…
Furbeenator
  • 8,106
  • 4
  • 46
  • 54
17
votes
3 answers

Duplicate log entries with Google Cloud Stackdriver logging of Python code on Kubernetes Engine

I have a simple Python app running in a container on Google Kubernetes Engine. I am trying to connect the standard Python logging to Google Stackdriver logging using this guide. I have almost succeeded, but I am getting duplicate log entries with…
16
votes
4 answers

How to export previous logs in Stackdriver

I have a log in Stackdriver that logs every request goes into my api and failed, and I want to write a script to count on the number of times each error message appears. The problem is, the export feature in Stackdriver V2 only allow me to sink…
15
votes
5 answers

Very slow "Logs" with Google Apps Script V8 vs Rhino?

With Rhino, Logs dialog ("command + Enter" or Logs from View menu) shows logs instantly. However, with test projects using V8 engine it takes 10-20 seconds to load even the simplest logs, with a message "Waiting for logs, please wait..." Both,…
RussR
  • 303
  • 2
  • 7
13
votes
1 answer

ChromeOS errors in GCP Logging

I'm seeing errors in StackDriver logging for my Compute instance. The logs are showing repeated issues every hour, creating a lot of noise. I have a Spring Boot API deployed in a container to a VM in Compute Engine using latest stable version of…
13
votes
1 answer

Python Google Cloud Function Logging Severity and Duplicates

I'm working on a simple Google Cloud Function that runs in the Python runtime and I want some simple logging from the Python program to Stackdriver Logging. Based on Google's startup guide, this should be…
12
votes
5 answers

Log retention in Stackdriver GCP

How can I get log retention enabled in GCP Stack-driver. I haven't found any document for configuring log retention. I can see export option in logging section and log ingestion.
11
votes
1 answer

Error using Google Stackdriver Logging in App Engine Standard python

My Stack: Google App Engine Standard Python (2.7) Goal: To create named logs in Google Stackdriver Logging, https://console.cloud.google.com/logs/viewer Docs - Stackdriver…
11
votes
1 answer

difference between topic/send_message_operation_count and topic/send_request_count in google pubsub

What is the difference between topic/send_message_operation_count and topic/send_request_count in google pubsub. The requirement is though i can calculate no.of messages present in subscriber by undeliver_messages but I need to calculate how many…
10
votes
1 answer

GCP stackdriver-agent installed on VM send strange logs every minute

please can you help me with the following issue. I have a backend service on node.js I deployed it on GCE VM. It's working fine, but after installing logging and monitoring agent I see very strange logs in Logs Viewer. I looked at the paid that…
10
votes
2 answers

Problem: empty graphics in GKE cluster node detail (No data for this time interval). How can I fix it?

I have a cluster in Google Cloud. But I need to know information about resources usage. In interface of each node there are three graphics about CPU, memory and disk usage. But all this graphics in the each node have warning "No data for this time…
10
votes
0 answers

Docker logs driver gcplogs: How to format logs so that they're shown correctly in Stackdriver?

tldr: - I'm writing logs from a python application that's running outside of Google Cloud - I'm using gcplogs to import logs to Stackdriver - Logs imported must be in the wrong format because they're not displayed as they should in Stackdriver…
L42
  • 3,052
  • 4
  • 28
  • 49
10
votes
1 answer

Where I can see the logs in Google App Engine?

I am new to GAE, and hence this question may be very easy for the experts in GAE. I have Flexible App Engine, SQL instance of MySQL 2nd Gen 5.7 I have hosted my laravel app on the GAE, and after following the tutorial: Run Laravel on Google App…
1
2 3
48 49