【发布时间】:2019-12-31 03:05:33
【问题描述】:
是否有一个简单的 hello world 示例用于在 GKE 应用程序中创建自定义指标并将其写入 StackDriver?
我看到有几个更大的演示项目似乎在使用它,例如:
https://github.com/GoogleCloudPlatform/microservices-demo https://github.com/rghetia/microservices-demo/tree/oc_agent
但它们似乎不同。后者有一个用于 oc-agent 的 DaemonSet,而第一个似乎没有。此外,还有测试版 Stackdriver Kubernetes Engine Monitoring,我不确定这样做是否会有所不同?似乎已经设置了一个指标服务器 pod,以及一个 prometheus-to-sd prod。
【问题讨论】:
标签: google-cloud-platform google-kubernetes-engine stackdriver google-cloud-stackdriver opencensus