Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrometheusMetrics ¶
GetPrometheusMetrics scrapes metrics from the given host and port using /metrics handler.
func SendToStackdriver ¶
SendToStackdriver sends http request to Stackdriver to create the given timeserieses.
func TranslatePrometheusToStackdriver ¶
func TranslatePrometheusToStackdriver(config *config.GceConfig, component string, metrics map[string]*dto.MetricFamily, whitelisted []string) []*v3.TimeSeries
TranslatePrometheusToStackdriver translates metrics in Prometheus format to Stackdriver format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.