google-cloud-monitoring

Google monitoring selected metric is invalid?

隐身守侯 提交于 2020-07-10 10:26:33
问题 I literally am clicking a metric that works for the last 2 months from our dashboard and it shows a graph WITH data like so (you can see in red, it is saying invalid metric). So, metrics HALF works. The real issue is I can no longer see ANY of our company metrics that I don't already have predefined in the dashboard. Is there a work around for this odd issue? EDIT: Even more frustrating is how the logs find the metric just fine... thanks, Dean 来源: https://stackoverflow.com/questions/62604896

CLOUD_SDK_CREDENTIALS_WARNING We recommend that most server applications use service accounts instead

拟墨画扇 提交于 2020-05-17 08:52:19
问题 Context: I have just learn a trick to get (download) data from FireStore Dashboard. Obviouslly, it is much easier just open Google Dashboard on Browser and see with my eyes to own Google Dasboard. Nevertheless, for personal reasons, in my company the operators can't look at a third Dashboard. They only can see internal Dashboards. I am trying some workaround where I can get/download the same data used for fill in Dashboard and imported it to our internal solution based on Dynatrace/ELK. For

when creating a server for generating Firebase CustomToken am I using only Service Accounts or somehow behind the scene also User Credentials?

大憨熊 提交于 2020-05-14 07:09:08
问题 The bounty expires in 5 days . Answers to this question are eligible for a +50 reputation bounty. Jim C is looking for an answer from a reputable source . We are moving soon this project to production. 1 - Our Mobile App will create money transfer by posting it to our internal microserve. Such post request will return a CustomToken generated from our internal NodeJs server. 2 - Our internal microservice will replicate such transfer to Firestore and update its state on Firestore accordingly. 3

Google Cloud Metrics and MicroMeter JVM reporting (is this a Micrometer bug or?)

有些话、适合烂在心里 提交于 2020-04-18 05:47:07
问题 I finally got Micrometer(and it's JVM metrics) working in Google cloud by making the instance of cloud run of type Generic Task which allows me then to focus on the whole 'named' cluster of things so I can separate out production, or other clusters since they are called prod_name and staging_name. Now, it seems micrometer is reporting metrics with tags (instead of just changing the name of the metric) and google can't seem to separate out those tagged metrics to aggregate that stat in GCP. I

Google Cloud Metrics and MicroMeter JVM reporting (is this a Micrometer bug or?)

妖精的绣舞 提交于 2020-04-18 05:46:30
问题 I finally got Micrometer(and it's JVM metrics) working in Google cloud by making the instance of cloud run of type Generic Task which allows me then to focus on the whole 'named' cluster of things so I can separate out production, or other clusters since they are called prod_name and staging_name. Now, it seems micrometer is reporting metrics with tags (instead of just changing the name of the metric) and google can't seem to separate out those tagged metrics to aggregate that stat in GCP. I

Can I run Google Monitoring Agent inside a Kubernetes Pod?

浪尽此生 提交于 2020-01-01 04:46:06
问题 It seems that the Google Monitoring Agent (powered by Stackdriver) should be installed on each Node (i.e. each compute instance, i.e. each machine) of a Kubernetes cluster. However the new plugins , like Nginx, Redis, ElasticSearch..., need those agents to know the IP of these services. This means having kube-proxy running and set up which should mean running that Google Monitoring Agent on a Pod. These two conflict: On one side that agent monitors the entire machine, on the other it monitor

how to create alert per error in stackdriver

倖福魔咒の 提交于 2019-12-22 08:51:12
问题 Having created log-based metrics in cloud console, I then want to create alerts so that every time there is a new matching log entry, the alert triggers. In trying to create a suitable metric, the most likely looking options seem to be threshold or rate of change, but I don't think either will work for a policy of 1 log message => 1 alert. Help appreciated. 回答1: Yes, today the only way to alert on the log message is to create a threshold condition on the log metric with a very small threshold

how to create alert per error in stackdriver

拜拜、爱过 提交于 2019-12-22 08:50:11
问题 Having created log-based metrics in cloud console, I then want to create alerts so that every time there is a new matching log entry, the alert triggers. In trying to create a suitable metric, the most likely looking options seem to be threshold or rate of change, but I don't think either will work for a policy of 1 log message => 1 alert. Help appreciated. 回答1: Yes, today the only way to alert on the log message is to create a threshold condition on the log metric with a very small threshold

How to use a proxy with google cloud libraries

强颜欢笑 提交于 2019-12-12 06:22:24
问题 My code is in an environment that has egress restrictions therefore I need to go through a proxy in order to connect to the outside world. Does google cloud libraries have the ability to pass in a proxy and connect via that? 回答1: Google Cloud Client libraries do not offer a built in proxy support. You will have to configure a system proxy or environment specific proxy. For example, if you're running a JVM you can configure the proxy settings as described here. Golang also supports something