Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stackdriver Metrics through Pub/Sub?

I was curious if Stackdriver metrics are only available via the API or is there a way to send them through Pub/Sub? I'm currently not seeing any of the metrics listed here for Compute Engine in my Pub/Sub output.

I did create a sink for all gce vm instances to export from Stackdriver logging in Pub/Sub and I'm not seeing any of them.

like image 776
cphelps Avatar asked Aug 01 '26 15:08

cphelps


1 Answers

There are a few different types of signals that Stackdriver organizes--metrics, logs, traces, errors, plus derived signals like incidents or error groups. Logs can be exported via Pub/Sub using sinks. Metrics, traces, and errors can only be pulled via the API today.

like image 115
Mary Koes Avatar answered Aug 04 '26 10:08

Mary Koes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!