google-cloud-stackdriver Questions

5

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.

1

I have a Java Application in App Engine, and recently I started getting following error: Unable to export to Monitering service because: GaxError RPC failed, caused by 3:One or more TimeSeries cou...

1

Solved

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 ...

3

Solved

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 n...

1

I have a node server running on Google Cloud Run. Now I want to enable stackdriver tracing. When I run the service locally, I am able to get the traces in the GCP. However, when I run the service a...

0

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 ...

2

Objective: Get some logging/monitoring on Googles Stackdriver from a Kuberntes HA cluster that is on premises, version 1.11.2. I have been able to send logs to Elasticsearch using Fluentd Daemonse...

3

Google Cloud Platform announced "Stackdriver Kubernetes Monitoring" at Kubecon 2018. It looks awesome. I am an AWS user running a few Kubernetes clusters and immediately had envy, until I saw that...

5

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 "entr...

1

Solved

I'm looking to see this information as python message: But currently, I can see only first/second This is what I'm currently using from google.api_core.exceptions import BadRequest if __name_...

1

Solved

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 ...

1

Already created my filters with a specific value from the jsonPayload. I want to create a metric which plots the values of Process_time. Can anyone please help, how to create such metrics?

1

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 s...

1

Solved

When creating an Airflow environment on GCP Composer, there is a DAG named airflow_monitoring automatically created and that comes back even when deleted. Why? How to handle it? Should I copy this ...

1

Solved

i would like to send more expressive log entries to stackdriver logging from my app engine standard python3 app. By following the official documentation i was able to send my logs to stackdriver an...

1

Solved

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 migrat...
Sphygmomanometer asked 17/3, 2019 at 14:23

1

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 wa...

3

Solved

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_...
Petrology asked 6/12, 2017 at 9:15

1

Solved

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...

1

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.cr...

0

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...

0

EDIT: I think I figured out the issue. It's only the start time that needs to stay the same up until the accumulated number needs to be reset, so in my case the start of the day will reset after mi...
Botch asked 4/10, 2018 at 19:58

1

Solved

I recently realized I was paying way too much for my logs: As you can see in the image, logs are getting bigger each month As you also can see I just today put a "limit" on the ingestion. Hopeful...

0

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'...
Immunology asked 14/5, 2018 at 11:12

0

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 clic...

© 2022 - 2024 — McMap. All rights reserved.