Hello everyone, I'm new into this k8s things, and now trying to setup a "centralized" dashboard in Stackdriver. I've deployed Prometheus using kube-prometheus on my GKE cluster and able to graph metrics on Grafana.
Now I want to export those metrics from Prometheus to Stackdriver to be able to create dashboard for team and create custom alerts/policies. Does anyone know how to properly setup prometheus-to-sd? I created this pod on my monitoring namespace but no data send to Stackdriver :( I use this example https://github.com/GoogleCloudPlatform/k8s-stackdriver/blob/master/prometheus-to-sd/kubernetes/prometheus-to-sd-kube-state-metrics.yaml TIA apiVersion: v1kind: Podmetadata: name: prometheus-to-sdspec: hostNetwork: true containers: - name: prometheus-to-sd image: gcr.io/google-containers/prometheus-to-sd:v0.2.3 ports: - name: profiler containerPort: 6060 command: - /monitor - --stackdriver-prefix=custom.googleapis.com - --source=prometheus-k8s:http://localhost:9090/metrics - --pod-id=$(POD_NAME) - --namespace-id=$(POD_NAMESPACE) env: - name: POD_NAME valueFrom: fieldRef: fieldPath: metadata.name - name: POD_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.namespace -- 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-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.