Documentation ¶
Index ¶
- func NewStackDriverListTimeSeriesRequest(projectID string, o ...StackDriverListTimeSeriesRequestOption) *monitoringpb.ListTimeSeriesRequest
- func NewStackDriverMetricClient() (*monitoring.MetricClient, error)
- func StringifyStackDriverFilter(filter map[string]interface{}) string
- type StackDriverListTimeSeriesRequestOption
- func WithStackDriverAlignmentPeriod(seconds int64) StackDriverListTimeSeriesRequestOption
- func WithStackDriverCrossSeriesReducer(reducer monitoringpb.Aggregation_Reducer) StackDriverListTimeSeriesRequestOption
- func WithStackDriverFilter(filter string) StackDriverListTimeSeriesRequestOption
- func WithStackDriverInterval(startSecs, endSecs int64) StackDriverListTimeSeriesRequestOption
- func WithStackDriverPerSeriesAligner(aligner monitoringpb.Aggregation_Aligner) StackDriverListTimeSeriesRequestOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStackDriverListTimeSeriesRequest ¶
func NewStackDriverListTimeSeriesRequest(projectID string, o ...StackDriverListTimeSeriesRequestOption) *monitoringpb.ListTimeSeriesRequest
func NewStackDriverMetricClient ¶
func NewStackDriverMetricClient() (*monitoring.MetricClient, error)
Types ¶
type StackDriverListTimeSeriesRequestOption ¶
type StackDriverListTimeSeriesRequestOption func(*monitoringpb.ListTimeSeriesRequest)
StackDriverListTimeSeriesRequestOption enables further configuration of a ListTimeSeriesRequest.
func WithStackDriverAlignmentPeriod ¶
func WithStackDriverAlignmentPeriod(seconds int64) StackDriverListTimeSeriesRequestOption
func WithStackDriverCrossSeriesReducer ¶
func WithStackDriverCrossSeriesReducer(reducer monitoringpb.Aggregation_Reducer) StackDriverListTimeSeriesRequestOption
func WithStackDriverFilter ¶
func WithStackDriverFilter(filter string) StackDriverListTimeSeriesRequestOption
func WithStackDriverInterval ¶
func WithStackDriverInterval(startSecs, endSecs int64) StackDriverListTimeSeriesRequestOption
func WithStackDriverPerSeriesAligner ¶
func WithStackDriverPerSeriesAligner(aligner monitoringpb.Aggregation_Aligner) StackDriverListTimeSeriesRequestOption
Click to show internal directories.
Click to hide internal directories.