prometheus-to-sd¶
prometheus-to-sd is a simple component that can scrape metrics stored in prometheus text format from one or multiple components and push them to the Stackdriver
Prerequisites¶
- a service exposing metrics in prometheus format
- k8s cluster should run on GCE or GKE
Get Repository Info¶
helm repo add prometheus-community https://helm-charts.itboon.top/prometheus-community
helm repo update
See helm repo for command documentation.
Install Chart¶
See configuration below.
See helm install for command documentation.
Uninstall Chart¶
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart¶
See helm upgrade for command documentation.
Configuration¶
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:
For more information please refer to the prometheus-to-sd documentation.
Metrics Sources¶
Multiple metrics sources can be defined. To configure, set metricsSources
value (example: http://kube-state-metrics:8080
)