Questions tagged [google-cloud-metrics]

22 questions
4
votes
1 answer

BigQuery - Scheduled Query Update Notification Email

Is there a way to update the scheduled query notification email to something custom? By default it is the email of the creator, however, this is often a service account with no true email recipient. e.g with terraform provisioning, we would have a…
2
votes
3 answers

How to get instanceid from cloud_run?

The logs from cloud run spit out some good json with resource.labels.revision_name = my_name-00046-kip. The json path labels.instanceId is more like this…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
1
vote
0 answers

MQL: GKE metrics filter by working hours and time period

How to achieve weekly/monthly statistics within working hours (excluding night time) using Google MQL? There is ability to select hours and days range separately using time picker widget, but I need statistics using both by setting working hours…
1
vote
0 answers

Running GPU Monitoring on GCP in a container optimized OS

Title has most of the question, but more context is below Tried following the directions found here: https://cloud.google.com/compute/docs/gpus/monitor-gpus I modified the code a bit, but haven't been able to get it working. Here's the abbreviated…
1
vote
1 answer

Google Cloud: Metrics Explorer: "Aggregator" vs "Aligner" - Whats the difference?

Trying to understand the difference between the two: Aggregator vs Aligner. Docs was not helpful for me. What I'm trying to achieve is to get the bytes of logs generated within a week per each namespace and container combination. For example, I want…
Rax
  • 470
  • 5
  • 15
1
vote
2 answers

Chart multiple percentiles from distributions using Google MQL

How does one plot multiple lines, such as different percentiles, in a single chart based on a single distribution metric using MQL in Google Cloud Platform? The following query will draw a graph with the 50th percentile from a distribution…
1
vote
1 answer

need understanding on guest-metrics in google cloud

I am collecting metrics from Monitoring in google cloud through rest-api. In the api documentation from https://cloud.google.com/monitoring/api/metrics_gcp I am seeing lot of metrics beginning with guest like guest/cpu/usage_time…
1
vote
1 answer

gcp metric vibrates in small scale

This is my es workload's metric and it's vibrating somehow. But when I scale-up the metric, it'll be stationary as below: Each of pods is stationary even in small scale: How can I make it stationary? I can't find any documentation about this and…
0
votes
0 answers

How to report activity by individual API keys in Google Cloud > Google Maps Platform?

We've experienced an issue recently where Google Cloud billing increasing greatly due to increased access to our Places API. It turns out that we'd not properly used Credentials to restrict usage of our API Keys, which we're tightening up now. BUT…
0
votes
1 answer

Google managed Prometheus migration issue - No matches for kind "PodMonitoring" in version "monitoring.googleapis.com/v1"

I'm trying to migrate from GKE workload metrics to Managed Service for Prometheus metrics. To do this I deploy a PodMonitoring resource to emit metrics that can be scraped by Prometheus following the Migrating from GKE workload metrics to Managed…
0
votes
0 answers

Calculate Apdex in MQL

I'm trying to figure out how to calculate an apdex score in Google Cloud MQL, but I'm a bit confused about how to put together a query that could get this. I've been trying but so far don't seem to be getting anything that looks like what I…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
0
votes
0 answers

What metric type and metrics explorer settings to use for custom latency metric in GCP's Cloud Monitoring?

According to GCP doc Latency metrics typically capture data as distributions I'm using custom metrics to instrument sections of code to understand latency. I can't use trace or other monitoring options. It's also measured in int for reasons and…
0
votes
1 answer

Looking to export a Log-based Metric in JSON Format

I have several GCP project that are all monitored by one central project. I want to add a Log-based metric to each of the sub-projects. The structure of the metric is identical across all the projects, with the exception that the name of the project…
0
votes
0 answers

Monitoring request latencies in Google Metrics Explorer

I have an API deployed in GKE, exposed to internet through a Google endpoint. when I display 'reponses latency' metrics of my API in GCP console: 'API & services' > 'Dashboard' > 'my-clint-eastwood-api' > 'metrics' And I choose 'latency by response…
0
votes
1 answer

Google Cloud Metrics - get pub/sub metric filtered by subscription_id

Using GCP and having following data in Metrics explorer: I need using Java client to get a current number of undelivered_messages in the specific subscription_id. Found following…
Artur
  • 661
  • 1
  • 6
  • 23
1
2