Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCP ¶
type GCP struct {
// contains filtered or unexported fields
}
func NewGCP ¶
NewGCP currently needs a service account configured or gcloud auth within same session to function
func (*GCP) Get99PercentLatencyMetricForResource ¶
func (p *GCP) Get99PercentLatencyMetricForResource(resourceID string, from, to time.Time) (float64, error)
Get99PercentLatencyMetricForResource retrieves latency data for a resource on GCP and returns the mean of the 99th Percentile latencies across regions of the given resource
Click to show internal directories.
Click to hide internal directories.