Questions tagged [stackdriver]

Monitoring, logging, and diagnostics for applications on Google Cloud Platform and AWS.

Part of Google Cloud Platform Google Stackdriver includes monitoring, logging, & diagnostics like Stackdriver Monitoring (aka Google Cloud Monitoring).


Docs:

  • Monitoring - collects metrics, events, and metadata from GCP/AWS/Anthos or custom metrics. Generates insights via dashboarts, charts and alert.
  • Logging - allows to store, search, analyze, monitor, and alert on log data and events from GCP or AWS
  • Error Reporting - aggregates and displays errors produced in users running cloud services.
  • APM
    • Debugger - lets user inspect the state of an application, at any code location, without stopping or slowing down the running app
    • Trace - a distributed tracing system for Google Cloud Platform that collects latency data
    • Profiler - a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications
966 questions
0
votes
1 answer

Is Apache Webserver required to be installed on a GCP VM to monitor it via Stackdriver?

I am looking at the documentation from google to monitor a GCE VM instance using Stackdriver , the documentation seems to suggest that I install Apache webserver to enable Stackdriver to monitor the GCE…
user1965449
  • 2,849
  • 6
  • 34
  • 51
0
votes
1 answer

Stackdriver: ElementCount from Specific Dataflow PCollection Output

I've got a dataflow job that pulls messages off of several Google Pub/Sub topics, does some parallel processing on the individual elements contained within those messages, then passes the collection on for further consumption by various resources.…
Gideon
  • 355
  • 3
  • 12
0
votes
0 answers

Bigquery Not Accepting Stackdriver's Sink Writer Identity

I've been following the documentation to export logs from Stackdriver to Bigquery. I've tried the following: from google.cloud.logging.client import Client as lClient from google.cloud.bigquery.client import Client as bqClient from…
0
votes
1 answer

Dataflow and Stackdriver monitoring integration

I would like to create a Stackdriver dashboard to monitor the number of elements being Read/Wrote by my Pipelines. The dataflow/job/element_count metric seems to cover this use case, unfortunately I can't get it to work properly (cf picture)…
0
votes
1 answer

Stackdriver Google Python API Access Denied

When trying to create a sink using the Google Cloud Python3 API Client I get the error: RetryError: GaxError(Exception occurred in retry method that was not classified as transient, caused by <_Rendezvous of RPC that terminated with…
Willian Fuks
  • 11,259
  • 10
  • 50
  • 74
0
votes
1 answer

Logs written to Stackdriver using Python client occasionally not being logged

Logs which I have written using the Python client occasionally don't appear in the web console. These should turn up in the global area under the default python logger. Only a very small number of them actually get there, with no real pattern as…
0
votes
1 answer

Google container engine logging to Stackdriver Error Reporting

I'm currently trying to log errors to Stackdriver Error Reporting from Google Container Engine. I'm using the built-in fluentd-based Stackdriver Logging agent from GKE which works great. However, when I log an error according to the…
0
votes
2 answers

Alternative to Stackdriver Debugger for Python 3

I love Stackdriver debugger's capabilities of debugging production code to see variable state, etc. But it only supports python 2.7. Is there any alternative available (open source or closed) for Python 3?
skunkwerk
  • 2,920
  • 2
  • 37
  • 55
0
votes
0 answers

How to use google cloud trace SDK for java via gradle

How to use the following in gradle? https://github.com/GoogleCloudPlatform/cloud-trace-java I don't see it in maven repository https://mvnrepository.com/artifact/com.google.cloud/cloud-trace-java
Neil
  • 5,919
  • 15
  • 58
  • 85
0
votes
1 answer

Unable to see traces in stackdriver

I am using the following Java code to send a test trace to stackdriver HttpTransport httpTransport = GoogleNetHttpTransport.newTrustedTransport(); JsonFactory jsonFactory = JacksonFactory.getDefaultInstance(); GoogleCredential cred =…
Neil
  • 5,919
  • 15
  • 58
  • 85
0
votes
1 answer

Reading Metrics from StackDriver API (Google cloud)

I would like read the below metric from compute engine.For that I am planning to use the StackDriver Monitoring APIs.After reading the doc,i came to know that OATH 2.0 Authorization is required before making the https request to the API. I would…
surya135
  • 75
  • 1
  • 2
  • 7
0
votes
1 answer

Google Stackdriver getting Unsuccessful HTTP request 404

I'm on AWS EC2. While running stackdriver-agent to check the status of the agent I'm getting HTTP request 404. Stack trace - sudo service stackdriver-agent status stackdriver-agent.service - LSB: start and stop Stackdriver Agent Loaded:…
0
votes
1 answer

exception while logging using fluentd logger with Google Stackdriver

I'm using Google stackdriver on AWS EC2. Followed all the Steps as available for installing stackdriver on EC2. Verified following A) fluentd & collectd status ps ax | grep fluentd 11429 pts/1 S+ 0:00 grep --color=auto fluentd ps ax | grep…
0
votes
1 answer

Can I use StackDriver Trace PHP application in GKE?

I want to check latencies of RPC every day about CakePHP Application each endpoints running in GKE cluster. I found it is possible using php google client or zipkin server by reading documents , but I don't know how easy to introduce to our app…
tkowt
  • 185
  • 1
  • 13
0
votes
1 answer

Stackdriver {{$ctrl.errorGroupStats | crashErrorGroupTitle}}

This used to work fine earlier. Seems like an internal error at google side. I'm running some PHP code, any advise on formatting the errors? I've tried several ways to format errors:
Julius Žaromskis
  • 2,026
  • 2
  • 14
  • 20