Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func CreateGCMSink(uri *url.URL, _ extpoints.HeapsterConf) ([]sink_api.ExternalSink, error)
 - func FullLabelName(name string) string
 - func FullMetricName(name string) string
 - type GcmCore
 - func (self *GcmCore) GetEquivalentRateMetric(metric *sink_api.Point) (*Timeseries, error)
 - func (self *GcmCore) GetMetric(metric *sink_api.Point) (*Timeseries, error)
 - func (self *GcmCore) Register(name, description, metricType, valueType string, ...) error
 - func (self *GcmCore) StoreTimeseries(metrics map[string][]Timeseries) error
 - func (self *GcmCore) Unregister(name string) error
 
- type Timeseries
 
Constants ¶
      View Source
      
  
const GCMAuthScope = "https://www.googleapis.com/auth/monitoring"
    Variables ¶
This section is empty.
Functions ¶
func CreateGCMSink ¶ added in v0.11.0
func CreateGCMSink(uri *url.URL, _ extpoints.HeapsterConf) ([]sink_api.ExternalSink, error)
func FullLabelName ¶ added in v0.17.0
func FullMetricName ¶ added in v0.16.0
Types ¶
type GcmCore ¶ added in v0.16.0
type GcmCore struct {
	// contains filtered or unexported fields
}
    func (*GcmCore) GetEquivalentRateMetric ¶ added in v0.16.0
func (self *GcmCore) GetEquivalentRateMetric(metric *sink_api.Point) (*Timeseries, error)
func (*GcmCore) GetMetric ¶ added in v0.16.0
func (self *GcmCore) GetMetric(metric *sink_api.Point) (*Timeseries, error)
func (*GcmCore) Register ¶ added in v0.16.0
func (self *GcmCore) Register(name, description, metricType, valueType string, labels []sink_api.LabelDescriptor) error
func (*GcmCore) StoreTimeseries ¶ added in v0.16.0
func (self *GcmCore) StoreTimeseries(metrics map[string][]Timeseries) error
func (*GcmCore) Unregister ¶ added in v0.17.0
type Timeseries ¶ added in v0.16.0
type Timeseries struct {
	TimeseriesDescriptor timeseriesDescriptor `json:"timeseriesDesc,omitempty"`
	Point                point                `json:"point,omitempty"`
}
     Click to show internal directories. 
   Click to hide internal directories.