AnnotationQueryBuilder🔗
Constructor🔗
Methods🔗
Build🔗
Builds the object.
AlignmentPeriod🔗
Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.
func (builder *AnnotationQueryBuilder) AlignmentPeriod(alignmentPeriod string) *AnnotationQueryBuilder
CrossSeriesReducer🔗
Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.
func (builder *AnnotationQueryBuilder) CrossSeriesReducer(crossSeriesReducer string) *AnnotationQueryBuilder
Filters🔗
Array of filters to query data by. Labels that can be filtered on are defined by the metric.
GroupBys🔗
Array of labels to group data by.
PerSeriesAligner🔗
Alignment function to be used. Defaults to ALIGN_MEAN.
func (builder *AnnotationQueryBuilder) PerSeriesAligner(perSeriesAligner string) *AnnotationQueryBuilder
Preprocessor🔗
Preprocessor is not part of the API, but is used to store the preprocessor and not affect the UI for the rest of parameters
func (builder *AnnotationQueryBuilder) Preprocessor(preprocessor googlecloudmonitoring.PreprocessorType) *AnnotationQueryBuilder
ProjectName🔗
GCP project to execute the query against.
SecondaryAlignmentPeriod🔗
Only present if a preprocessor is selected. Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.
func (builder *AnnotationQueryBuilder) SecondaryAlignmentPeriod(secondaryAlignmentPeriod string) *AnnotationQueryBuilder
SecondaryCrossSeriesReducer🔗
Only present if a preprocessor is selected. Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.
func (builder *AnnotationQueryBuilder) SecondaryCrossSeriesReducer(secondaryCrossSeriesReducer string) *AnnotationQueryBuilder
SecondaryGroupBys🔗
Only present if a preprocessor is selected. Array of labels to group data by.
func (builder *AnnotationQueryBuilder) SecondaryGroupBys(secondaryGroupBys []string) *AnnotationQueryBuilder
SecondaryPerSeriesAligner🔗
Only present if a preprocessor is selected. Alignment function to be used. Defaults to ALIGN_MEAN.
func (builder *AnnotationQueryBuilder) SecondaryPerSeriesAligner(secondaryPerSeriesAligner string) *AnnotationQueryBuilder
Text🔗
Annotation text.
Title🔗
Annotation title.
View🔗
Data view, defaults to FULL.