google-cloud-stackdriver Questions

4

We have a GKE cluster with auto-upgrading nodes. We recently noticed a node become unschedulable and eventually deleted that we suspect was being upgraded automatically for us. Is there a way to co...

2

I have exported the dashboards using gcloud alpha monitoring dashboards list --format=json, but using gcloud dashboard create using file is not working, basically I want to export the dashboards fr...

2

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 custo...
Claycomb asked 29/9, 2019 at 7:32

4

Solved

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

4

Solved

I'm making a dashboard in GCP stackdriver. We have a autoscaling node pool which the pods I'm interested in monitoring run in. What I'm wondering is how do I monitor the amount of nodes the are cur...

2

Solved

We have some stackdriver log entries that look something like this: { insertId: "xyz" jsonPayload: { countOfApples: 100 // other stuff } // other stuff } We would like to be able to set ...

1

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

3

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

3

Solved

In the google example, it gives the following: logger.log_struct({ 'message': 'My second entry', 'weather': 'partly cloudy', }) How would I do the equivalent in python's logger. For example: ...

5

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

2

Solved

I'm trying to get stackdriver logging working for a simple Go app running in Google Cloud Run (fully managed), but don't see stackdriver entries in CloudRun logs. I've created simplest possible dem...

3

Solved

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

3

Solved

I have a basic nginx deployment serving static content running on a GKE cluster. I have configured Stackdriver Logging for the cluster as per instructions here (I enabled logging for an existing cl...
Oarlock asked 16/1, 2019 at 18:30

1

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

2

Solved

I'm using Google's Stackdriver Logging Client Libraries for Python to programmatically retrieve log entries, similar to using gcloud beta logging read. Stackdriver also does provide an API to retr...

2

Solved

Is possible to retrieve the logs about when a user is log-in or log-out to the platform? And also send them to stackdriver as Cloud Functions logs? thanks

4

Solved

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

0

I have setup stackdriver monitoring, configured the alerting policy and notifications are sent via slack when incident is started/stopped with the incident details. Is there any possibility i...

1

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 strang...
Addition asked 15/5, 2020 at 22:52

1

I have a log query that shows me the booking and distribution container log. To have a more clear overview over the call flow over the different services - I'd like to group those two logs into wra...
Dodeca asked 16/10, 2020 at 8:52

2

Solved

I tried jsonPayload.elapsed_ms > 5000 and I'm clearly getting a lexicographical comparison of the character "5" because I only see results that are "6", "7", &quot...

1

I would like to create a Stackdriver Workpace programmatically by Using Scripts, Terraform template or API as I need to avoid manual steps to create Stackdriver workspace for each projects manually...
Hardecanute asked 29/10, 2018 at 15:27

5

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

3

Solved

When I log something with console.warn() it seems to appear in the Stackdriver logs with severity "ERROR". The Stackdriver Error Reporting does not show these errors, so it seems there they are not...
Airless asked 19/4, 2019 at 10:6

1

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

© 2022 - 2024 — McMap. All rights reserved.