Stackdriver / stackdriver-prometheus

Prometheus support for Stackdriver
https://cloud.google.com/monitoring/kubernetes-engine/prometheus
Apache License 2.0
19 stars 12 forks source link

stackdriver-prometheus vs prometheus-to-sd #15

Closed geekflyer closed 6 years ago

geekflyer commented 6 years ago

Hi,

I'm a bit confused as to how stackdriver-prometheus relates to prometheus-to-sd and what are the pros / cons of using each? What is the recommended option way of sending prometheus-like metrics to stackdriver?

Both projects are maintained by Google which doesn't make the choice easier :) I hope someone can clarify, perhaps adding a note to the README would be useful for others.

jkohen commented 6 years ago

@geekflyer thanks for bringing that up. My recommendation is to go with stackdriver-prometheus because it's developed and supported for Stackdriver users, but you can help yourself to either tool.

Google develops stackdriver-prometheus primarily for Stackdriver users and gives support to Stackdriver users. We designed the user experience to meet the expectations of Prometheus users and to make it easy to run with Prometheus server (we are working on a Prometheus server sidecar version). stackdriver-prometheus is intended to monitor all your applications, Kubernetes and beyond.

Google develops prometheus-to-sd primarily for Google Kubernetes Engine to collect metrics from system services in order to support Kubernetes users. We designed the tool to be lean when deployed as a sidecar in your pod. It's intended to support only the metrics the Kubernetes team at Google needs; you can use it to monitor your applications, but the user experience could be rough.

/cc @piosz

geekflyer commented 6 years ago

Hi @jkohen thanks for your prompt answer. Unfortunately I'm still not 100% clear what I should use in our scenario. I should have probably clarified this before, but here's a bit more context:

jkohen commented 6 years ago

@geekflyer I believe stackdriver-prometheus will meet your needs, and it's what I would recommend. If that's not the case, I'd like to hear more about your needs.