After playing with StackDriver monitoring I have the following observation based questions:
Context:
Applications send monitoring custom metrics to StackDriver Monitoring via client library. We want to get metrics "out of" StackDriver and publish on Pub-Sub topic so that we have flexibility to roll our own operational dashboards within operational UI. Publishing on Pub-Sub also allows us to create a BigQuery sink for the monitoring metrics using standard DataFlow template.
Issue:
--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To post to this group, send email to google-stackdr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/35311450-a7a9-4931-a91c-bd4ac98dfc05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for your quick response. Pls see my comments below in dark red for your reference:
Henry Pan
DevOps Architect | Dito
henr...@ditoweb.com | PHONE: (425) 802-3975
Re: Issue 1 - You are correct that we do not have an "export to pubsub" sink. We did however recently write a solution around sending Monitoring data to another destination that might be useful. Cool. Allows me to take a look.Re: Issue 2 - Are you asking for alerts to be able to publish to PubSub or something else? +Rory Petty I'm thinking to publish the alerts in BigQuery -> Stadio for better in deep analysis & graphics.
Re: Issue 3 - I'm not sure I understand the use case. Are you asking how to alert on a custom metric that comes from outside GCP? Assuming it's written to the Monitoring API, this should work using metric threshold alerts.
I'm asking to setup custom metric alert that comes from logs collected by stackdriver. Would you pls share the docs on using metric threshold alerts?Re: Issue 4: I think there's another thread on this... Metrics that are pushed to Stackdriver by IoT are listed here. For other use cases, you may consider custom metrics (write against the API using libraries such as OpenCensus) or logs based metrics since logs are automatically pushed through to Stackdriver Logging. OK. I'll learn from that.Best,Mary
Thanks
Henry Pan
DevOps Architect | Dito
henr...@ditoweb.com | PHONE: (425) 802-3975