Documentation ¶
Index ¶
Constants ¶
View Source
const ( // QuotaLabelsPerMetricDescriptor is the limit // to labels (tags) per metric descriptor. QuotaLabelsPerMetricDescriptor = 10 // QuotaStringLengthForLabelKey is the limit // to string length for label key. QuotaStringLengthForLabelKey = 100 // QuotaStringLengthForLabelValue is the limit // to string length for label value. QuotaStringLengthForLabelValue = 1024 // StartTime for cumulative metrics. StartTime = int64(1) // MaxInt is the max int64 value. MaxInt = int(^uint(0) >> 1) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stackdriver ¶
type Stackdriver struct { Project string Namespace string ResourceType string `toml:"resource_type"` ResourceLabels map[string]string `toml:"resource_labels"` // contains filtered or unexported fields }
Stackdriver is the Google Stackdriver config info.
func (*Stackdriver) Close ¶
func (s *Stackdriver) Close() error
Close will terminate the session to the backend, returning error if an issue arises.
func (*Stackdriver) Connect ¶
func (s *Stackdriver) Connect() error
Connect initiates the primary connection to the GCP project.
func (*Stackdriver) Description ¶
func (s *Stackdriver) Description() string
Description returns the human-readable function definition of the plugin.
func (*Stackdriver) SampleConfig ¶
func (s *Stackdriver) SampleConfig() string
SampleConfig returns the formatted sample configuration for the plugin.
Click to show internal directories.
Click to hide internal directories.