Open baboune opened 5 years ago
same problem on:
- name: STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES
value: "cloudsql.googleapis.com"
But Setting STACKDRIVER_EXPORTER_MONITORING_METRICS_INTERVAL="2m"
it works.
I don't know why 1m gives no metrics. (no errors in log)
this issue is related: https://github.com/prometheus-community/stackdriver_exporter/issues/32
The default metrics interval is 5 minutes. I'm guessing 1m is too fast.
@SuperQ where I can see that the default is 5m? is due to cloudsql? I already know that the exporter has 5m as default.
5m is the exporter default. I don't know why it's the default. The change to 5m was made with no additional comment0.
same problem on:
- name: STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES value: "cloudsql.googleapis.com"
But Setting
STACKDRIVER_EXPORTER_MONITORING_METRICS_INTERVAL="2m"
it works.I don't know why 1m gives no metrics. (no errors in log)
this issue is related:
32
Hi,
does it still work for you? I get metrics for "gce", but for cloudsql not... I'm using the latest `version="0.11.0"...
Update:
"--log.level", "debug"
flag in my k8s deploymentmonitoring.viewer
in the monitoring project to the Googel Service Account (in an other project) which was used by the stackdriver-exporter. The metrics immediately showed up.
Hi,
Using latest stackdriver_exporter, I seem to have ran into an issue extracting metrics from Stackdriver.
I use a service account with the
Monitoring Viewer
role that I inject into a docker container.On port 9255/metrics, I can see that many pubsub metrics are available. E.g.
There are no errors from the stackdriver_exporter prometheus counter:
But, there are no metrics from either redis or compute.
I also tried with the example in the stackdriver_exporter,
--monitoring.metrics-type-prefixes "compute.googleapis.com/instance/cpu,compute.googleapis.com/instance/disk"
and do not get any values or instances.What am I doing wrong?