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
0
votes
2 answers

uknown reason for google cloud compute engine VM shutdown?

One of the vm instances on google cloud compute was shutdown, with an event log in stackdriver without ip or actor (user or service or system) which initiated the event. The instance has onHostMaintenance set to migrate and automaticRestart set to…
0
votes
1 answer

Cachet on Kubernetes APP_KEY Error

I'm trying to run the open source cachet status page within Kubernetes via this tutorial https://medium.com/@ctbeke/setting-up-cachet-on-google-cloud-817e62916d48 2 docker containers (cachet/nginx) and Postgres are deployed to a pod on GKE but the…
0
votes
1 answer

Share chart and keep configuration

Is it possible to share a dashboard chart and keep its configuration? Whenever I try it the resulting iFrame just shows the default configuration for that metric. Aggregations, type of chart, etc, are gone. I could only find URL parameters to…
0
votes
1 answer

BQ AuditLogs in StackDriver ::Missing fields in jobCompletedEvent.job.jobStatistics

Looking at BigQuery Audit logs in Stackdriver (using PY Client Libraries).. I'm a bit puzzeled why few fields billingTier, totalProcessedBytes, totalTablesProcessed etc. are missing from…
Vibhor Jain
  • 1,396
  • 1
  • 11
  • 32
0
votes
1 answer

How to filter by hostname instead of instance_id for google stackdriver logging?

I am setting up the Google Stackdriver logging agent on AWS EC2 instances and in the log viewer I'm only seeing the instance_id's. I would like to be able to filter by hostname instead of instance_id. I have checked all google-fluentd config on the…
0
votes
1 answer

Google Cloud Logs Export Names

Is there a way to configure the names of the files exported from Logging? Currently the file exported includes colons. This are invalid characters as a path element in hadoop, so PySpark for instance cannot read these files. Obviously the easy…
0
votes
2 answers

How to trigger google function from stackdriver logs, similar to how we do in AWS with cloudwatch events triggering lambda?

I am trying to trigger a google cloud function from stackdriver log, say if my VM goes down I need to perform some operation using function. Similar to how we do in AWS with cloudwatch events triggering lambda.
0
votes
0 answers

Can we enhance stackdriver's logging (Google AppEngine) (Python) (Standard)?

I was wondering if anyone could hint out a way to modify / add data to the "RequestLog" object handled automatically by stackdriver for AppEngine standard environment. Or maybe Even publish independant full "RequestLogs" alongside the automated…
0
votes
1 answer

Update cluster stackdriver version in google cloud

I have this situation with my kubernetes cluster and I would like to rollback to the stable version of the google cloud, anybody knows how to do that?
user2137817
  • 1,825
  • 5
  • 28
  • 45
0
votes
1 answer

Google Cloud: custom stackdriver metrics

I'm running a custom Python application. The logging inside the code is written to Stackdriverm, fine. But for specific blocks of code I'm thinking to create custom metrics in Stackdriver. But here's my problem. There are some official docs for…
Matthias
  • 5,574
  • 8
  • 61
  • 121
0
votes
1 answer

Can a stackdriver account monitor resources in a different organization in GCP?

I have the following scenario Org 1 ----> GCP Project 1 ( hosting project for stackdriver account) Org 2 ----> GCP Project 2 I want the stackdriver account in Project 1 to be able to monitor the resources in Project 2 which happens to be in a…
0
votes
1 answer

Is it possible to use Stackdriver with Kotlin?

I'm using Spring Boot with Kotlin and the app is deployed to Google App Engine Standard. I know that I can debug with Stackdriver using Java but can I use Stackdriver to debug my production code in Kotlin? I would like to use snapshots and…
0
votes
2 answers

The worker for a Google Cloud Platform task cannot find the logging library

I have created a simple task based on the Google Cloud Platform "update counter" push task example. All I want to do is log that it has been invoked to the Stackdriver logs. from google.cloud import logging logging_client = logging.Client() log_name…
0
votes
1 answer

StackDriver AWS Reduce Resource Usage

if I have an aws account with multiple ec2 instances (eg. Staging, Prod) but I would only like to monitor the production servers so that I won't be charged for monitoring everything, how would I go about doing this? I've tried to specify the…
0
votes
1 answer

Stackdriver logs have same timestamp for app engine background threads

I am using background_thread from google.appengine.api in an app engine standard application to create a thread that polls a pull task queue every 30 seconds for new tasks. App engine is grouping the logs per run into /_ah/background entries on…