Most straightforward way to collect dropwizard metrics and send them to Stackdriver within app running on GKE

389 views
Skip to first unread message

Fábio Uechi

unread,
Oct 13, 2016, 10:08:05 AM10/13/16
to kubernet...@googlegroups.com, fue...@ciandt.com
I have a Dropwizard based application running on GKE. I'm already collecting lots of application specific metrics using dropwizard metrics support.

I know it can report metrics via HTTP], JMX], CSV, collectd, etc.

I want to send these metrics to Stackdriver. 

Three alternatives came to mind:

1. build a new metric reporter using Stackdriver Monitoring API
3. create a sidecar container that collects metrics (shared file or http polling) and send them to StackDriver (API ? collectd ?)

What would be the most efficient and straighforward way to achieve that ?

Any help is appreciated.

Brandon Philips

unread,
Oct 13, 2016, 3:26:45 PM10/13/16
to Kubernetes user discussion and Q&A, Fábio Uechi
Sidecar would probably be the best choice for separation of concerns of monitoring vs exporting of metrics for a single process.

Disclaimer: I don't know the Stackdriver product well; but it seems to have a set list of third-party monitors: https://cloud.google.com/monitoring/agent/plugins/

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages