diff --git a/CHANGELOG.md b/CHANGELOG.md index 991a3161..ad58f41f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -502,4 +502,19 @@ Breaking Changes: ## Release 1.12.1 Bug fixing: #### resource/coralogix_slo -* fixing `threshold_symbol_type` bug in ac ase of `greater_or_equal` and add `less_or_equal` option. \ No newline at end of file +* fixing `threshold_symbol_type` bug in ac ase of `greater_or_equal` and add `less_or_equal` option. + +## Release 1.13.0 +Breaking Changes: +#### resource/coralogix_dashboard +* `annotations.source.metric` was changed to `annotations.source.metrics`. + +Bug fixing: +#### resource/coralogix_dashboard +* fixing [inconsistent result for color_scheme](https://github.com/coralogix/terraform-provider-coralogix/issues/217). + +New Features: +#### resource/coralogix_dashboard +* adding `data_mode` for data_table widget. +* adding `logs` and `spans` options for `annotations.source`. +* adding `auto_refresh` for dashboard. \ No newline at end of file diff --git a/coralogix/clientset/grpc/dashboards/annotation.pb.go b/coralogix/clientset/grpc/dashboards/annotation.pb.go index 3eb39b5f..66617001 100644 --- a/coralogix/clientset/grpc/dashboards/annotation.pb.go +++ b/coralogix/clientset/grpc/dashboards/annotation.pb.go @@ -99,6 +99,8 @@ type Annotation_Source struct { // Types that are assignable to Value: // *Annotation_Source_Metrics + // *Annotation_Source_Logs + // *Annotation_Source_Spans Value isAnnotation_Source_Value `protobuf_oneof:"value"` } @@ -148,44 +150,642 @@ func (x *Annotation_Source) GetMetrics() *Annotation_MetricsSource { return nil } +func (x *Annotation_Source) GetLogs() *Annotation_LogsSource { + if x, ok := x.GetValue().(*Annotation_Source_Logs); ok { + return x.Logs + } + return nil +} + +func (x *Annotation_Source) GetSpans() *Annotation_SpansSource { + if x, ok := x.GetValue().(*Annotation_Source_Spans); ok { + return x.Spans + } + return nil +} + type isAnnotation_Source_Value interface { isAnnotation_Source_Value() } -type Annotation_Source_Metrics struct { - Metrics *Annotation_MetricsSource `protobuf:"bytes,1,opt,name=metrics,proto3,oneof"` +type Annotation_Source_Metrics struct { + Metrics *Annotation_MetricsSource `protobuf:"bytes,1,opt,name=metrics,proto3,oneof"` +} + +type Annotation_Source_Logs struct { + Logs *Annotation_LogsSource `protobuf:"bytes,2,opt,name=logs,proto3,oneof"` +} + +type Annotation_Source_Spans struct { + Spans *Annotation_SpansSource `protobuf:"bytes,3,opt,name=spans,proto3,oneof"` +} + +func (*Annotation_Source_Metrics) isAnnotation_Source_Value() {} + +func (*Annotation_Source_Logs) isAnnotation_Source_Value() {} + +func (*Annotation_Source_Spans) isAnnotation_Source_Value() {} + +type Annotation_MetricsSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PromqlQuery *PromQlQuery `protobuf:"bytes,1,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` + Strategy *Annotation_MetricsSource_Strategy `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"` + MessageTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=message_template,json=messageTemplate,proto3" json:"message_template,omitempty"` + Labels []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` +} + +func (x *Annotation_MetricsSource) Reset() { + *x = Annotation_MetricsSource{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_MetricsSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_MetricsSource) ProtoMessage() {} + +func (x *Annotation_MetricsSource) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_MetricsSource.ProtoReflect.Descriptor instead. +func (*Annotation_MetricsSource) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *Annotation_MetricsSource) GetPromqlQuery() *PromQlQuery { + if x != nil { + return x.PromqlQuery + } + return nil +} + +func (x *Annotation_MetricsSource) GetStrategy() *Annotation_MetricsSource_Strategy { + if x != nil { + return x.Strategy + } + return nil +} + +func (x *Annotation_MetricsSource) GetMessageTemplate() *wrapperspb.StringValue { + if x != nil { + return x.MessageTemplate + } + return nil +} + +func (x *Annotation_MetricsSource) GetLabels() []*wrapperspb.StringValue { + if x != nil { + return x.Labels + } + return nil +} + +type Annotation_LogsSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + Strategy *Annotation_LogsSource_Strategy `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"` + MessageTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=message_template,json=messageTemplate,proto3" json:"message_template,omitempty"` + LabelFields []*ObservationField `protobuf:"bytes,4,rep,name=label_fields,json=labelFields,proto3" json:"label_fields,omitempty"` +} + +func (x *Annotation_LogsSource) Reset() { + *x = Annotation_LogsSource{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_LogsSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_LogsSource) ProtoMessage() {} + +func (x *Annotation_LogsSource) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_LogsSource.ProtoReflect.Descriptor instead. +func (*Annotation_LogsSource) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *Annotation_LogsSource) GetLuceneQuery() *LuceneQuery { + if x != nil { + return x.LuceneQuery + } + return nil +} + +func (x *Annotation_LogsSource) GetStrategy() *Annotation_LogsSource_Strategy { + if x != nil { + return x.Strategy + } + return nil +} + +func (x *Annotation_LogsSource) GetMessageTemplate() *wrapperspb.StringValue { + if x != nil { + return x.MessageTemplate + } + return nil +} + +func (x *Annotation_LogsSource) GetLabelFields() []*ObservationField { + if x != nil { + return x.LabelFields + } + return nil +} + +type Annotation_SpansSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + Strategy *Annotation_SpansSource_Strategy `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"` + MessageTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=message_template,json=messageTemplate,proto3" json:"message_template,omitempty"` + LabelFields []*ObservationField `protobuf:"bytes,4,rep,name=label_fields,json=labelFields,proto3" json:"label_fields,omitempty"` +} + +func (x *Annotation_SpansSource) Reset() { + *x = Annotation_SpansSource{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_SpansSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_SpansSource) ProtoMessage() {} + +func (x *Annotation_SpansSource) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_SpansSource.ProtoReflect.Descriptor instead. +func (*Annotation_SpansSource) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3} +} + +func (x *Annotation_SpansSource) GetLuceneQuery() *LuceneQuery { + if x != nil { + return x.LuceneQuery + } + return nil +} + +func (x *Annotation_SpansSource) GetStrategy() *Annotation_SpansSource_Strategy { + if x != nil { + return x.Strategy + } + return nil +} + +func (x *Annotation_SpansSource) GetMessageTemplate() *wrapperspb.StringValue { + if x != nil { + return x.MessageTemplate + } + return nil +} + +func (x *Annotation_SpansSource) GetLabelFields() []*ObservationField { + if x != nil { + return x.LabelFields + } + return nil +} + +// Strategy for turning metrics data into annotations +type Annotation_MetricsSource_Strategy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // *Annotation_MetricsSource_Strategy_StartTimeMetric + Value isAnnotation_MetricsSource_Strategy_Value `protobuf_oneof:"value"` +} + +func (x *Annotation_MetricsSource_Strategy) Reset() { + *x = Annotation_MetricsSource_Strategy{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_MetricsSource_Strategy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_MetricsSource_Strategy) ProtoMessage() {} + +func (x *Annotation_MetricsSource_Strategy) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_MetricsSource_Strategy.ProtoReflect.Descriptor instead. +func (*Annotation_MetricsSource_Strategy) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (m *Annotation_MetricsSource_Strategy) GetValue() isAnnotation_MetricsSource_Strategy_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *Annotation_MetricsSource_Strategy) GetStartTimeMetric() *Annotation_MetricsSource_StartTimeMetric { + if x, ok := x.GetValue().(*Annotation_MetricsSource_Strategy_StartTimeMetric); ok { + return x.StartTimeMetric + } + return nil +} + +type isAnnotation_MetricsSource_Strategy_Value interface { + isAnnotation_MetricsSource_Strategy_Value() +} + +type Annotation_MetricsSource_Strategy_StartTimeMetric struct { + // Take first data point and use its value as annotation timestamp (instead of point own timestamp) + StartTimeMetric *Annotation_MetricsSource_StartTimeMetric `protobuf:"bytes,1,opt,name=start_time_metric,json=startTimeMetric,proto3,oneof"` +} + +func (*Annotation_MetricsSource_Strategy_StartTimeMetric) isAnnotation_MetricsSource_Strategy_Value() { +} + +type Annotation_MetricsSource_StartTimeMetric struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Annotation_MetricsSource_StartTimeMetric) Reset() { + *x = Annotation_MetricsSource_StartTimeMetric{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_MetricsSource_StartTimeMetric) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_MetricsSource_StartTimeMetric) ProtoMessage() {} + +func (x *Annotation_MetricsSource_StartTimeMetric) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_MetricsSource_StartTimeMetric.ProtoReflect.Descriptor instead. +func (*Annotation_MetricsSource_StartTimeMetric) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1, 1} +} + +type Annotation_LogsSource_Strategy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // *Annotation_LogsSource_Strategy_Instant_ + // *Annotation_LogsSource_Strategy_Range_ + // *Annotation_LogsSource_Strategy_Duration_ + Value isAnnotation_LogsSource_Strategy_Value `protobuf_oneof:"value"` +} + +func (x *Annotation_LogsSource_Strategy) Reset() { + *x = Annotation_LogsSource_Strategy{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_LogsSource_Strategy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_LogsSource_Strategy) ProtoMessage() {} + +func (x *Annotation_LogsSource_Strategy) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_LogsSource_Strategy.ProtoReflect.Descriptor instead. +func (*Annotation_LogsSource_Strategy) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0} +} + +func (m *Annotation_LogsSource_Strategy) GetValue() isAnnotation_LogsSource_Strategy_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *Annotation_LogsSource_Strategy) GetInstant() *Annotation_LogsSource_Strategy_Instant { + if x, ok := x.GetValue().(*Annotation_LogsSource_Strategy_Instant_); ok { + return x.Instant + } + return nil +} + +func (x *Annotation_LogsSource_Strategy) GetRange() *Annotation_LogsSource_Strategy_Range { + if x, ok := x.GetValue().(*Annotation_LogsSource_Strategy_Range_); ok { + return x.Range + } + return nil +} + +func (x *Annotation_LogsSource_Strategy) GetDuration() *Annotation_LogsSource_Strategy_Duration { + if x, ok := x.GetValue().(*Annotation_LogsSource_Strategy_Duration_); ok { + return x.Duration + } + return nil +} + +type isAnnotation_LogsSource_Strategy_Value interface { + isAnnotation_LogsSource_Strategy_Value() +} + +type Annotation_LogsSource_Strategy_Instant_ struct { + Instant *Annotation_LogsSource_Strategy_Instant `protobuf:"bytes,1,opt,name=instant,proto3,oneof"` +} + +type Annotation_LogsSource_Strategy_Range_ struct { + Range *Annotation_LogsSource_Strategy_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"` +} + +type Annotation_LogsSource_Strategy_Duration_ struct { + Duration *Annotation_LogsSource_Strategy_Duration `protobuf:"bytes,3,opt,name=duration,proto3,oneof"` +} + +func (*Annotation_LogsSource_Strategy_Instant_) isAnnotation_LogsSource_Strategy_Value() {} + +func (*Annotation_LogsSource_Strategy_Range_) isAnnotation_LogsSource_Strategy_Value() {} + +func (*Annotation_LogsSource_Strategy_Duration_) isAnnotation_LogsSource_Strategy_Value() {} + +type Annotation_LogsSource_Strategy_Instant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimestampField *ObservationField `protobuf:"bytes,1,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` +} + +func (x *Annotation_LogsSource_Strategy_Instant) Reset() { + *x = Annotation_LogsSource_Strategy_Instant{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_LogsSource_Strategy_Instant) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_LogsSource_Strategy_Instant) ProtoMessage() {} + +func (x *Annotation_LogsSource_Strategy_Instant) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_LogsSource_Strategy_Instant.ProtoReflect.Descriptor instead. +func (*Annotation_LogsSource_Strategy_Instant) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0, 0} +} + +func (x *Annotation_LogsSource_Strategy_Instant) GetTimestampField() *ObservationField { + if x != nil { + return x.TimestampField + } + return nil +} + +type Annotation_LogsSource_Strategy_Range struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` + EndTimestampField *ObservationField `protobuf:"bytes,2,opt,name=end_timestamp_field,json=endTimestampField,proto3" json:"end_timestamp_field,omitempty"` +} + +func (x *Annotation_LogsSource_Strategy_Range) Reset() { + *x = Annotation_LogsSource_Strategy_Range{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_LogsSource_Strategy_Range) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_LogsSource_Strategy_Range) ProtoMessage() {} + +func (x *Annotation_LogsSource_Strategy_Range) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_LogsSource_Strategy_Range.ProtoReflect.Descriptor instead. +func (*Annotation_LogsSource_Strategy_Range) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0, 1} +} + +func (x *Annotation_LogsSource_Strategy_Range) GetStartTimestampField() *ObservationField { + if x != nil { + return x.StartTimestampField + } + return nil +} + +func (x *Annotation_LogsSource_Strategy_Range) GetEndTimestampField() *ObservationField { + if x != nil { + return x.EndTimestampField + } + return nil +} + +type Annotation_LogsSource_Strategy_Duration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` + DurationField *ObservationField `protobuf:"bytes,2,opt,name=duration_field,json=durationField,proto3" json:"duration_field,omitempty"` +} + +func (x *Annotation_LogsSource_Strategy_Duration) Reset() { + *x = Annotation_LogsSource_Strategy_Duration{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Annotation_LogsSource_Strategy_Duration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Annotation_LogsSource_Strategy_Duration) ProtoMessage() {} + +func (x *Annotation_LogsSource_Strategy_Duration) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Annotation_LogsSource_Strategy_Duration.ProtoReflect.Descriptor instead. +func (*Annotation_LogsSource_Strategy_Duration) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 2, 0, 2} } -func (*Annotation_Source_Metrics) isAnnotation_Source_Value() {} +func (x *Annotation_LogsSource_Strategy_Duration) GetStartTimestampField() *ObservationField { + if x != nil { + return x.StartTimestampField + } + return nil +} -type Annotation_MetricsSource struct { +func (x *Annotation_LogsSource_Strategy_Duration) GetDurationField() *ObservationField { + if x != nil { + return x.DurationField + } + return nil +} + +type Annotation_SpansSource_Strategy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PromqlQuery *PromQlQuery `protobuf:"bytes,1,opt,name=promql_query,json=promqlQuery,proto3" json:"promql_query,omitempty"` - Strategy *Annotation_MetricsSource_Strategy `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"` - MessageTemplate *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=message_template,json=messageTemplate,proto3" json:"message_template,omitempty"` - Labels []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` + // Types that are assignable to Value: + // *Annotation_SpansSource_Strategy_Instant_ + // *Annotation_SpansSource_Strategy_Range_ + // *Annotation_SpansSource_Strategy_Duration_ + Value isAnnotation_SpansSource_Strategy_Value `protobuf_oneof:"value"` } -func (x *Annotation_MetricsSource) Reset() { - *x = Annotation_MetricsSource{} +func (x *Annotation_SpansSource_Strategy) Reset() { + *x = Annotation_SpansSource_Strategy{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2] + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Annotation_MetricsSource) String() string { +func (x *Annotation_SpansSource_Strategy) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Annotation_MetricsSource) ProtoMessage() {} +func (*Annotation_SpansSource_Strategy) ProtoMessage() {} -func (x *Annotation_MetricsSource) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[2] +func (x *Annotation_SpansSource_Strategy) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -196,67 +796,86 @@ func (x *Annotation_MetricsSource) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use Annotation_MetricsSource.ProtoReflect.Descriptor instead. -func (*Annotation_MetricsSource) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1} +// Deprecated: Use Annotation_SpansSource_Strategy.ProtoReflect.Descriptor instead. +func (*Annotation_SpansSource_Strategy) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0} } -func (x *Annotation_MetricsSource) GetPromqlQuery() *PromQlQuery { - if x != nil { - return x.PromqlQuery +func (m *Annotation_SpansSource_Strategy) GetValue() isAnnotation_SpansSource_Strategy_Value { + if m != nil { + return m.Value } return nil } -func (x *Annotation_MetricsSource) GetStrategy() *Annotation_MetricsSource_Strategy { - if x != nil { - return x.Strategy +func (x *Annotation_SpansSource_Strategy) GetInstant() *Annotation_SpansSource_Strategy_Instant { + if x, ok := x.GetValue().(*Annotation_SpansSource_Strategy_Instant_); ok { + return x.Instant } return nil } -func (x *Annotation_MetricsSource) GetMessageTemplate() *wrapperspb.StringValue { - if x != nil { - return x.MessageTemplate +func (x *Annotation_SpansSource_Strategy) GetRange() *Annotation_SpansSource_Strategy_Range { + if x, ok := x.GetValue().(*Annotation_SpansSource_Strategy_Range_); ok { + return x.Range } return nil } -func (x *Annotation_MetricsSource) GetLabels() []*wrapperspb.StringValue { - if x != nil { - return x.Labels +func (x *Annotation_SpansSource_Strategy) GetDuration() *Annotation_SpansSource_Strategy_Duration { + if x, ok := x.GetValue().(*Annotation_SpansSource_Strategy_Duration_); ok { + return x.Duration } return nil } -// Strategy for turning metrics data into annotations -type Annotation_MetricsSource_Strategy struct { +type isAnnotation_SpansSource_Strategy_Value interface { + isAnnotation_SpansSource_Strategy_Value() +} + +type Annotation_SpansSource_Strategy_Instant_ struct { + Instant *Annotation_SpansSource_Strategy_Instant `protobuf:"bytes,1,opt,name=instant,proto3,oneof"` +} + +type Annotation_SpansSource_Strategy_Range_ struct { + Range *Annotation_SpansSource_Strategy_Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"` +} + +type Annotation_SpansSource_Strategy_Duration_ struct { + Duration *Annotation_SpansSource_Strategy_Duration `protobuf:"bytes,3,opt,name=duration,proto3,oneof"` +} + +func (*Annotation_SpansSource_Strategy_Instant_) isAnnotation_SpansSource_Strategy_Value() {} + +func (*Annotation_SpansSource_Strategy_Range_) isAnnotation_SpansSource_Strategy_Value() {} + +func (*Annotation_SpansSource_Strategy_Duration_) isAnnotation_SpansSource_Strategy_Value() {} + +type Annotation_SpansSource_Strategy_Instant struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Types that are assignable to Value: - // *Annotation_MetricsSource_Strategy_StartTimeMetric - Value isAnnotation_MetricsSource_Strategy_Value `protobuf_oneof:"value"` + TimestampField *ObservationField `protobuf:"bytes,1,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` } -func (x *Annotation_MetricsSource_Strategy) Reset() { - *x = Annotation_MetricsSource_Strategy{} +func (x *Annotation_SpansSource_Strategy_Instant) Reset() { + *x = Annotation_SpansSource_Strategy_Instant{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3] + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Annotation_MetricsSource_Strategy) String() string { +func (x *Annotation_SpansSource_Strategy_Instant) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Annotation_MetricsSource_Strategy) ProtoMessage() {} +func (*Annotation_SpansSource_Strategy_Instant) ProtoMessage() {} -func (x *Annotation_MetricsSource_Strategy) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3] +func (x *Annotation_SpansSource_Strategy_Instant) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -267,60 +886,99 @@ func (x *Annotation_MetricsSource_Strategy) ProtoReflect() protoreflect.Message return mi.MessageOf(x) } -// Deprecated: Use Annotation_MetricsSource_Strategy.ProtoReflect.Descriptor instead. -func (*Annotation_MetricsSource_Strategy) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1, 0} +// Deprecated: Use Annotation_SpansSource_Strategy_Instant.ProtoReflect.Descriptor instead. +func (*Annotation_SpansSource_Strategy_Instant) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0, 0} } -func (m *Annotation_MetricsSource_Strategy) GetValue() isAnnotation_MetricsSource_Strategy_Value { - if m != nil { - return m.Value +func (x *Annotation_SpansSource_Strategy_Instant) GetTimestampField() *ObservationField { + if x != nil { + return x.TimestampField } return nil } -func (x *Annotation_MetricsSource_Strategy) GetStartTimeMetric() *Annotation_MetricsSource_StartTimeMetric { - if x, ok := x.GetValue().(*Annotation_MetricsSource_Strategy_StartTimeMetric); ok { - return x.StartTimeMetric +type Annotation_SpansSource_Strategy_Range struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` + EndTimestampField *ObservationField `protobuf:"bytes,2,opt,name=end_timestamp_field,json=endTimestampField,proto3" json:"end_timestamp_field,omitempty"` +} + +func (x *Annotation_SpansSource_Strategy_Range) Reset() { + *x = Annotation_SpansSource_Strategy_Range{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type isAnnotation_MetricsSource_Strategy_Value interface { - isAnnotation_MetricsSource_Strategy_Value() +func (x *Annotation_SpansSource_Strategy_Range) String() string { + return protoimpl.X.MessageStringOf(x) } -type Annotation_MetricsSource_Strategy_StartTimeMetric struct { - // Take first data point and use its value as annotation timestamp (instead of point own timestamp) - StartTimeMetric *Annotation_MetricsSource_StartTimeMetric `protobuf:"bytes,1,opt,name=start_time_metric,json=startTimeMetric,proto3,oneof"` +func (*Annotation_SpansSource_Strategy_Range) ProtoMessage() {} + +func (x *Annotation_SpansSource_Strategy_Range) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -func (*Annotation_MetricsSource_Strategy_StartTimeMetric) isAnnotation_MetricsSource_Strategy_Value() { +// Deprecated: Use Annotation_SpansSource_Strategy_Range.ProtoReflect.Descriptor instead. +func (*Annotation_SpansSource_Strategy_Range) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0, 1} } -type Annotation_MetricsSource_StartTimeMetric struct { +func (x *Annotation_SpansSource_Strategy_Range) GetStartTimestampField() *ObservationField { + if x != nil { + return x.StartTimestampField + } + return nil +} + +func (x *Annotation_SpansSource_Strategy_Range) GetEndTimestampField() *ObservationField { + if x != nil { + return x.EndTimestampField + } + return nil +} + +type Annotation_SpansSource_Strategy_Duration struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + StartTimestampField *ObservationField `protobuf:"bytes,1,opt,name=start_timestamp_field,json=startTimestampField,proto3" json:"start_timestamp_field,omitempty"` + DurationField *ObservationField `protobuf:"bytes,2,opt,name=duration_field,json=durationField,proto3" json:"duration_field,omitempty"` } -func (x *Annotation_MetricsSource_StartTimeMetric) Reset() { - *x = Annotation_MetricsSource_StartTimeMetric{} +func (x *Annotation_SpansSource_Strategy_Duration) Reset() { + *x = Annotation_SpansSource_Strategy_Duration{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4] + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Annotation_MetricsSource_StartTimeMetric) String() string { +func (x *Annotation_SpansSource_Strategy_Duration) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Annotation_MetricsSource_StartTimeMetric) ProtoMessage() {} +func (*Annotation_SpansSource_Strategy_Duration) ProtoMessage() {} -func (x *Annotation_MetricsSource_StartTimeMetric) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4] +func (x *Annotation_SpansSource_Strategy_Duration) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -331,9 +989,23 @@ func (x *Annotation_MetricsSource_StartTimeMetric) ProtoReflect() protoreflect.M return mi.MessageOf(x) } -// Deprecated: Use Annotation_MetricsSource_StartTimeMetric.ProtoReflect.Descriptor instead. -func (*Annotation_MetricsSource_StartTimeMetric) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 1, 1} +// Deprecated: Use Annotation_SpansSource_Strategy_Duration.ProtoReflect.Descriptor instead. +func (*Annotation_SpansSource_Strategy_Duration) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP(), []int{0, 3, 0, 2} +} + +func (x *Annotation_SpansSource_Strategy_Duration) GetStartTimestampField() *ObservationField { + if x != nil { + return x.StartTimestampField + } + return nil +} + +func (x *Annotation_SpansSource_Strategy_Duration) GetDurationField() *ObservationField { + if x != nil { + return x.DurationField + } + return nil } var File_com_coralogixapis_dashboards_v1_ast_annotation_proto protoreflect.FileDescriptor @@ -344,13 +1016,17 @@ var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc = []byte{ 0x31, 0x2f, 0x61, 0x73, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, - 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x1a, 0x32, 0x63, 0x6f, 0x6d, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x1a, 0x3e, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xd3, 0x06, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, + 0xd0, 0x1b, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, @@ -365,46 +1041,213 @@ var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc = []byte{ 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x1a, 0x6c, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x59, - 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x75, 0x72, 0x63, 0x65, 0x1a, 0x93, 0x02, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x59, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, + 0x00, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x50, 0x0a, 0x04, 0x6c, 0x6f, + 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x53, 0x0a, 0x05, + 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, + 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, + 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x70, 0x61, 0x6e, + 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xf0, 0x03, 0x0a, 0x0d, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, + 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, + 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, + 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x90, 0x01, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x12, 0x7b, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x48, 0x00, + 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x11, 0x0a, 0x0f, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x1a, 0xe5, 0x09, + 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, + 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, + 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x5f, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x5b, + 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, + 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0b, + 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0xf7, 0x06, 0x0a, 0x08, + 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x67, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, + 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x12, 0x61, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, + 0x61, 0x6e, 0x67, 0x65, 0x12, 0x6a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x6c, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x0f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, + 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0e, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xdf, + 0x01, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x52, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x68, 0x0a, 0x13, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, + 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x11, 0x65, + 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x1a, 0xd9, 0x01, 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, + 0x15, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x5f, 0x0a, 0x0e, 0x64, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, + 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x64, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x07, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xea, 0x09, 0x0a, 0x0b, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x60, 0x0a, + 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, - 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x1a, 0xf0, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x5f, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, - 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x0b, 0x70, 0x72, 0x6f, 0x6d, 0x71, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x08, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x46, + 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, + 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, + 0x47, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x5b, 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, - 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x08, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, - 0x12, 0x47, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, - 0x90, 0x01, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x7b, 0x0a, 0x11, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, - 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, - 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, - 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x1a, 0x11, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0xfa, 0x06, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, + 0x67, 0x79, 0x12, 0x68, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x05, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, + 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, + 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, + 0x79, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x12, 0x6b, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x6c, 0x0a, + 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x61, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0e, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xdf, 0x01, 0x0a, 0x05, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, + 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x13, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x12, 0x68, 0x0a, 0x13, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0xd9, 0x01, + 0x0a, 0x08, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, 0x15, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, + 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, + 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x52, 0x13, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x5f, 0x0a, 0x0e, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x0d, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -419,33 +1262,71 @@ func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescGZIP() []b return file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDescData } -var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_goTypes = []interface{}{ (*Annotation)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Annotation (*Annotation_Source)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Annotation.Source (*Annotation_MetricsSource)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource - (*Annotation_MetricsSource_Strategy)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy - (*Annotation_MetricsSource_StartTimeMetric)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric - (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue - (*wrapperspb.BoolValue)(nil), // 6: google.protobuf.BoolValue - (*PromQlQuery)(nil), // 7: com.coralogixapis.dashboards.v1.common.PromQlQuery + (*Annotation_LogsSource)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource + (*Annotation_SpansSource)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource + (*Annotation_MetricsSource_Strategy)(nil), // 5: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy + (*Annotation_MetricsSource_StartTimeMetric)(nil), // 6: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric + (*Annotation_LogsSource_Strategy)(nil), // 7: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy + (*Annotation_LogsSource_Strategy_Instant)(nil), // 8: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Instant + (*Annotation_LogsSource_Strategy_Range)(nil), // 9: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range + (*Annotation_LogsSource_Strategy_Duration)(nil), // 10: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration + (*Annotation_SpansSource_Strategy)(nil), // 11: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy + (*Annotation_SpansSource_Strategy_Instant)(nil), // 12: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Instant + (*Annotation_SpansSource_Strategy_Range)(nil), // 13: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range + (*Annotation_SpansSource_Strategy_Duration)(nil), // 14: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration + (*wrapperspb.StringValue)(nil), // 15: google.protobuf.StringValue + (*wrapperspb.BoolValue)(nil), // 16: google.protobuf.BoolValue + (*PromQlQuery)(nil), // 17: com.coralogixapis.dashboards.v1.common.PromQlQuery + (*LuceneQuery)(nil), // 18: com.coralogixapis.dashboards.v1.common.LuceneQuery + (*ObservationField)(nil), // 19: com.coralogixapis.dashboards.v1.common.ObservationField } var file_com_coralogixapis_dashboards_v1_ast_annotation_proto_depIdxs = []int32{ - 5, // 0: com.coralogixapis.dashboards.v1.ast.Annotation.id:type_name -> google.protobuf.StringValue - 5, // 1: com.coralogixapis.dashboards.v1.ast.Annotation.name:type_name -> google.protobuf.StringValue - 6, // 2: com.coralogixapis.dashboards.v1.ast.Annotation.enabled:type_name -> google.protobuf.BoolValue + 15, // 0: com.coralogixapis.dashboards.v1.ast.Annotation.id:type_name -> google.protobuf.StringValue + 15, // 1: com.coralogixapis.dashboards.v1.ast.Annotation.name:type_name -> google.protobuf.StringValue + 16, // 2: com.coralogixapis.dashboards.v1.ast.Annotation.enabled:type_name -> google.protobuf.BoolValue 1, // 3: com.coralogixapis.dashboards.v1.ast.Annotation.source:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.Source 2, // 4: com.coralogixapis.dashboards.v1.ast.Annotation.Source.metrics:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource - 7, // 5: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.promql_query:type_name -> com.coralogixapis.dashboards.v1.common.PromQlQuery - 3, // 6: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy - 5, // 7: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.message_template:type_name -> google.protobuf.StringValue - 5, // 8: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.labels:type_name -> google.protobuf.StringValue - 4, // 9: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy.start_time_metric:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name + 3, // 5: com.coralogixapis.dashboards.v1.ast.Annotation.Source.logs:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource + 4, // 6: com.coralogixapis.dashboards.v1.ast.Annotation.Source.spans:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource + 17, // 7: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.promql_query:type_name -> com.coralogixapis.dashboards.v1.common.PromQlQuery + 5, // 8: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy + 15, // 9: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.message_template:type_name -> google.protobuf.StringValue + 15, // 10: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.labels:type_name -> google.protobuf.StringValue + 18, // 11: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.lucene_query:type_name -> com.coralogixapis.dashboards.v1.common.LuceneQuery + 7, // 12: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy + 15, // 13: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.message_template:type_name -> google.protobuf.StringValue + 19, // 14: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.label_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 18, // 15: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.lucene_query:type_name -> com.coralogixapis.dashboards.v1.common.LuceneQuery + 11, // 16: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.strategy:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy + 15, // 17: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.message_template:type_name -> google.protobuf.StringValue + 19, // 18: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.label_fields:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 6, // 19: com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.Strategy.start_time_metric:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.MetricsSource.StartTimeMetric + 8, // 20: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.instant:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Instant + 9, // 21: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.range:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range + 10, // 22: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.duration:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration + 19, // 23: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Instant.timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 24: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 25: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Range.end_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 26: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 27: com.coralogixapis.dashboards.v1.ast.Annotation.LogsSource.Strategy.Duration.duration_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 12, // 28: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.instant:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Instant + 13, // 29: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.range:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range + 14, // 30: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.duration:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration + 19, // 31: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Instant.timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 32: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 33: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Range.end_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 34: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration.start_timestamp_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 19, // 35: com.coralogixapis.dashboards.v1.ast.Annotation.SpansSource.Strategy.Duration.duration_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 36, // [36:36] is the sub-list for method output_type + 36, // [36:36] is the sub-list for method input_type + 36, // [36:36] is the sub-list for extension type_name + 36, // [36:36] is the sub-list for extension extendee + 0, // [0:36] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() } @@ -453,6 +1334,7 @@ func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() { if File_com_coralogixapis_dashboards_v1_ast_annotation_proto != nil { return } + file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() file_com_coralogixapis_dashboards_v1_common_query_proto_init() if !protoimpl.UnsafeEnabled { file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { @@ -492,7 +1374,7 @@ func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() { } } file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Annotation_MetricsSource_Strategy); i { + switch v := v.(*Annotation_LogsSource); i { case 0: return &v.state case 1: @@ -504,6 +1386,30 @@ func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() { } } file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_SpansSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_MetricsSource_Strategy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Annotation_MetricsSource_StartTimeMetric); i { case 0: return &v.state @@ -515,20 +1421,128 @@ func file_com_coralogixapis_dashboards_v1_ast_annotation_proto_init() { return nil } } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_LogsSource_Strategy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_LogsSource_Strategy_Instant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_LogsSource_Strategy_Range); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_LogsSource_Strategy_Duration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_SpansSource_Strategy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_SpansSource_Strategy_Instant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_SpansSource_Strategy_Range); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Annotation_SpansSource_Strategy_Duration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[1].OneofWrappers = []interface{}{ (*Annotation_Source_Metrics)(nil), + (*Annotation_Source_Logs)(nil), + (*Annotation_Source_Spans)(nil), } - file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[3].OneofWrappers = []interface{}{ + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[5].OneofWrappers = []interface{}{ (*Annotation_MetricsSource_Strategy_StartTimeMetric)(nil), } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*Annotation_LogsSource_Strategy_Instant_)(nil), + (*Annotation_LogsSource_Strategy_Range_)(nil), + (*Annotation_LogsSource_Strategy_Duration_)(nil), + } + file_com_coralogixapis_dashboards_v1_ast_annotation_proto_msgTypes[11].OneofWrappers = []interface{}{ + (*Annotation_SpansSource_Strategy_Instant_)(nil), + (*Annotation_SpansSource_Strategy_Range_)(nil), + (*Annotation_SpansSource_Strategy_Duration_)(nil), + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_annotation_proto_rawDesc, NumEnums: 0, - NumMessages: 5, + NumMessages: 15, NumExtensions: 0, NumServices: 0, }, diff --git a/coralogix/clientset/grpc/dashboards/annotation_event.pb.go b/coralogix/clientset/grpc/dashboards/annotation_event.pb.go index 85f9904c..014885fb 100644 --- a/coralogix/clientset/grpc/dashboards/annotation_event.pb.go +++ b/coralogix/clientset/grpc/dashboards/annotation_event.pb.go @@ -9,6 +9,7 @@ package __ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" @@ -108,6 +109,7 @@ type AnnotationEvent_Instant struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Payload *structpb.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` } func (x *AnnotationEvent_Instant) Reset() { @@ -156,14 +158,22 @@ func (x *AnnotationEvent_Instant) GetLabels() map[string]string { return nil } +func (x *AnnotationEvent_Instant) GetPayload() *structpb.Struct { + if x != nil { + return x.Payload + } + return nil +} + type AnnotationEvent_Range struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` - End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` + End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` } func (x *AnnotationEvent_Range) Reset() { @@ -219,6 +229,13 @@ func (x *AnnotationEvent_Range) GetLabels() map[string]string { return nil } +func (x *AnnotationEvent_Range) GetPayload() *structpb.Struct { + if x != nil { + return x.Payload + } + return nil +} + var File_com_coralogixapis_dashboards_v1_common_annotation_event_proto protoreflect.FileDescriptor var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDesc = []byte{ @@ -228,54 +245,62 @@ var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_rawDesc = 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x05, 0x0a, 0x0f, 0x41, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x07, - 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, - 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x05, 0x72, 0x61, 0x6e, - 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, - 0x1a, 0xe3, 0x01, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x63, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x06, 0x0a, 0x0f, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5b, 0x0a, 0x07, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x85, 0x02, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, 0x65, - 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e, 0x64, - 0x12, 0x61, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x2e, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x07, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x1a, 0x96, + 0x02, 0x0a, 0x07, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x12, 0x63, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x39, 0x0a, 0x0b, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xb8, 0x02, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, + 0x65, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e, + 0x64, 0x12, 0x61, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x49, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, + 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x12, 0x31, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, + 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -298,20 +323,23 @@ var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_goTypes = nil, // 3: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.LabelsEntry nil, // 4: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.LabelsEntry (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + (*structpb.Struct)(nil), // 6: google.protobuf.Struct } var file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_depIdxs = []int32{ 1, // 0: com.coralogixapis.dashboards.v1.common.AnnotationEvent.instant:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant 2, // 1: com.coralogixapis.dashboards.v1.common.AnnotationEvent.range:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range 5, // 2: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.timestamp:type_name -> google.protobuf.Timestamp 3, // 3: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.labels:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.LabelsEntry - 5, // 4: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.start:type_name -> google.protobuf.Timestamp - 5, // 5: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.end:type_name -> google.protobuf.Timestamp - 4, // 6: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.labels:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.LabelsEntry - 7, // [7:7] is the sub-list for method output_type - 7, // [7:7] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name + 6, // 4: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Instant.payload:type_name -> google.protobuf.Struct + 5, // 5: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.start:type_name -> google.protobuf.Timestamp + 5, // 6: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.end:type_name -> google.protobuf.Timestamp + 4, // 7: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.labels:type_name -> com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.LabelsEntry + 6, // 8: com.coralogixapis.dashboards.v1.common.AnnotationEvent.Range.payload:type_name -> google.protobuf.Struct + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_common_annotation_event_proto_init() } diff --git a/coralogix/clientset/grpc/dashboards/audit_log.pb.go b/coralogix/clientset/grpc/dashboards/audit_log.pb.go index b4ba42b2..a31d3a6f 100644 --- a/coralogix/clientset/grpc/dashboards/audit_log.pb.go +++ b/coralogix/clientset/grpc/dashboards/audit_log.pb.go @@ -109,7 +109,7 @@ var file_com_coralogixapis_dashboards_v1_audit_log_proto_rawDesc = []byte{ 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, - 0x01, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x01, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/bar_chart.pb.go b/coralogix/clientset/grpc/dashboards/bar_chart.pb.go index 9a88ca22..87205974 100644 --- a/coralogix/clientset/grpc/dashboards/bar_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/bar_chart.pb.go @@ -1092,8 +1092,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_bar_chart_proto_rawDesc = [ 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/colors_by.pb.go b/coralogix/clientset/grpc/dashboards/colors_by.pb.go index 6f91d3fa..794c2a76 100644 --- a/coralogix/clientset/grpc/dashboards/colors_by.pb.go +++ b/coralogix/clientset/grpc/dashboards/colors_by.pb.go @@ -263,8 +263,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_common_colors_by_proto_rawD 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x1a, 0x11, 0x0a, 0x0f, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x79, 0x1a, 0x15, 0x0a, 0x13, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x42, 0x79, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, - 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, + 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/dashboard.pb.go b/coralogix/clientset/grpc/dashboards/dashboard.pb.go index bea6b7be..0ff3870c 100644 --- a/coralogix/clientset/grpc/dashboards/dashboard.pb.go +++ b/coralogix/clientset/grpc/dashboards/dashboard.pb.go @@ -53,6 +53,13 @@ type Dashboard struct { // *Dashboard_FolderPath Folder isDashboard_Folder `protobuf_oneof:"folder"` Annotations []*Annotation `protobuf:"bytes,11,rep,name=annotations,proto3" json:"annotations,omitempty"` + // Specifies the auto refresh interval for the dashboard. + // + // Types that are assignable to AutoRefresh: + // *Dashboard_Off + // *Dashboard_TwoMinutes + // *Dashboard_FiveMinutes + AutoRefresh isDashboard_AutoRefresh `protobuf_oneof:"auto_refresh"` } func (x *Dashboard) Reset() { @@ -178,6 +185,34 @@ func (x *Dashboard) GetAnnotations() []*Annotation { return nil } +func (m *Dashboard) GetAutoRefresh() isDashboard_AutoRefresh { + if m != nil { + return m.AutoRefresh + } + return nil +} + +func (x *Dashboard) GetOff() *Dashboard_AutoRefreshOff { + if x, ok := x.GetAutoRefresh().(*Dashboard_Off); ok { + return x.Off + } + return nil +} + +func (x *Dashboard) GetTwoMinutes() *Dashboard_AutoRefreshTwoMinutes { + if x, ok := x.GetAutoRefresh().(*Dashboard_TwoMinutes); ok { + return x.TwoMinutes + } + return nil +} + +func (x *Dashboard) GetFiveMinutes() *Dashboard_AutoRefreshFiveMinutes { + if x, ok := x.GetAutoRefresh().(*Dashboard_FiveMinutes); ok { + return x.FiveMinutes + } + return nil +} + type isDashboard_TimeFrame interface { isDashboard_TimeFrame() } @@ -212,6 +247,142 @@ func (*Dashboard_FolderId) isDashboard_Folder() {} func (*Dashboard_FolderPath) isDashboard_Folder() {} +type isDashboard_AutoRefresh interface { + isDashboard_AutoRefresh() +} + +type Dashboard_Off struct { + Off *Dashboard_AutoRefreshOff `protobuf:"bytes,12,opt,name=off,proto3,oneof"` +} + +type Dashboard_TwoMinutes struct { + TwoMinutes *Dashboard_AutoRefreshTwoMinutes `protobuf:"bytes,13,opt,name=two_minutes,json=twoMinutes,proto3,oneof"` +} + +type Dashboard_FiveMinutes struct { + FiveMinutes *Dashboard_AutoRefreshFiveMinutes `protobuf:"bytes,14,opt,name=five_minutes,json=fiveMinutes,proto3,oneof"` +} + +func (*Dashboard_Off) isDashboard_AutoRefresh() {} + +func (*Dashboard_TwoMinutes) isDashboard_AutoRefresh() {} + +func (*Dashboard_FiveMinutes) isDashboard_AutoRefresh() {} + +type Dashboard_AutoRefreshOff struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Dashboard_AutoRefreshOff) Reset() { + *x = Dashboard_AutoRefreshOff{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Dashboard_AutoRefreshOff) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Dashboard_AutoRefreshOff) ProtoMessage() {} + +func (x *Dashboard_AutoRefreshOff) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Dashboard_AutoRefreshOff.ProtoReflect.Descriptor instead. +func (*Dashboard_AutoRefreshOff) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0, 0} +} + +type Dashboard_AutoRefreshTwoMinutes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Dashboard_AutoRefreshTwoMinutes) Reset() { + *x = Dashboard_AutoRefreshTwoMinutes{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Dashboard_AutoRefreshTwoMinutes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Dashboard_AutoRefreshTwoMinutes) ProtoMessage() {} + +func (x *Dashboard_AutoRefreshTwoMinutes) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Dashboard_AutoRefreshTwoMinutes.ProtoReflect.Descriptor instead. +func (*Dashboard_AutoRefreshTwoMinutes) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0, 1} +} + +type Dashboard_AutoRefreshFiveMinutes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Dashboard_AutoRefreshFiveMinutes) Reset() { + *x = Dashboard_AutoRefreshFiveMinutes{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Dashboard_AutoRefreshFiveMinutes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Dashboard_AutoRefreshFiveMinutes) ProtoMessage() {} + +func (x *Dashboard_AutoRefreshFiveMinutes) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Dashboard_AutoRefreshFiveMinutes.ProtoReflect.Descriptor instead. +func (*Dashboard_AutoRefreshFiveMinutes) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP(), []int{0, 2} +} + var File_com_coralogixapis_dashboards_v1_ast_dashboard_proto protoreflect.FileDescriptor var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = []byte{ @@ -247,7 +418,7 @@ var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = []byte{ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x06, 0x0a, 0x09, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x09, 0x0a, 0x09, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, @@ -297,9 +468,33 @@ var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc = []byte{ 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, - 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x6f, 0x6c, - 0x64, 0x65, 0x72, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x03, 0x6f, + 0x66, 0x66, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x44, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x4f, 0x66, 0x66, 0x48, 0x02, 0x52, 0x03, 0x6f, 0x66, 0x66, 0x12, 0x67, + 0x0a, 0x0b, 0x74, 0x77, 0x6f, 0x5f, 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, + 0x77, 0x6f, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x48, 0x02, 0x52, 0x0a, 0x74, 0x77, 0x6f, + 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x0c, 0x66, 0x69, 0x76, 0x65, 0x5f, + 0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x61, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x46, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, + 0x75, 0x74, 0x65, 0x73, 0x48, 0x02, 0x52, 0x0b, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, + 0x74, 0x65, 0x73, 0x1a, 0x10, 0x0a, 0x0e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, + 0x73, 0x68, 0x4f, 0x66, 0x66, 0x1a, 0x17, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, + 0x72, 0x65, 0x73, 0x68, 0x54, 0x77, 0x6f, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x18, + 0x0a, 0x16, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x46, 0x69, 0x76, + 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, + 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, + 0x42, 0x0e, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, + 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -314,36 +509,42 @@ func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescGZIP() []by return file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDescData } -var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_goTypes = []interface{}{ - (*Dashboard)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Dashboard - (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue - (*Layout)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Layout - (*Variable)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Variable - (*Filter)(nil), // 4: com.coralogixapis.dashboards.v1.ast.Filter - (*TimeFrame)(nil), // 5: com.coralogixapis.dashboards.v1.common.TimeFrame - (*durationpb.Duration)(nil), // 6: google.protobuf.Duration - (*UUID)(nil), // 7: com.coralogixapis.dashboards.v1.UUID - (*FolderPath)(nil), // 8: com.coralogixapis.dashboards.v1.ast.FolderPath - (*Annotation)(nil), // 9: com.coralogixapis.dashboards.v1.ast.Annotation + (*Dashboard)(nil), // 0: com.coralogixapis.dashboards.v1.ast.Dashboard + (*Dashboard_AutoRefreshOff)(nil), // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshOff + (*Dashboard_AutoRefreshTwoMinutes)(nil), // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshTwoMinutes + (*Dashboard_AutoRefreshFiveMinutes)(nil), // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshFiveMinutes + (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue + (*Layout)(nil), // 5: com.coralogixapis.dashboards.v1.ast.Layout + (*Variable)(nil), // 6: com.coralogixapis.dashboards.v1.ast.Variable + (*Filter)(nil), // 7: com.coralogixapis.dashboards.v1.ast.Filter + (*TimeFrame)(nil), // 8: com.coralogixapis.dashboards.v1.common.TimeFrame + (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*UUID)(nil), // 10: com.coralogixapis.dashboards.v1.UUID + (*FolderPath)(nil), // 11: com.coralogixapis.dashboards.v1.ast.FolderPath + (*Annotation)(nil), // 12: com.coralogixapis.dashboards.v1.ast.Annotation } var file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_depIdxs = []int32{ - 1, // 0: com.coralogixapis.dashboards.v1.ast.Dashboard.id:type_name -> google.protobuf.StringValue - 1, // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.name:type_name -> google.protobuf.StringValue - 1, // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.description:type_name -> google.protobuf.StringValue - 2, // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.layout:type_name -> com.coralogixapis.dashboards.v1.ast.Layout - 3, // 4: com.coralogixapis.dashboards.v1.ast.Dashboard.variables:type_name -> com.coralogixapis.dashboards.v1.ast.Variable - 4, // 5: com.coralogixapis.dashboards.v1.ast.Dashboard.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter - 5, // 6: com.coralogixapis.dashboards.v1.ast.Dashboard.absolute_time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame - 6, // 7: com.coralogixapis.dashboards.v1.ast.Dashboard.relative_time_frame:type_name -> google.protobuf.Duration - 7, // 8: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_id:type_name -> com.coralogixapis.dashboards.v1.UUID - 8, // 9: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_path:type_name -> com.coralogixapis.dashboards.v1.ast.FolderPath - 9, // 10: com.coralogixapis.dashboards.v1.ast.Dashboard.annotations:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation - 11, // [11:11] is the sub-list for method output_type - 11, // [11:11] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name + 4, // 0: com.coralogixapis.dashboards.v1.ast.Dashboard.id:type_name -> google.protobuf.StringValue + 4, // 1: com.coralogixapis.dashboards.v1.ast.Dashboard.name:type_name -> google.protobuf.StringValue + 4, // 2: com.coralogixapis.dashboards.v1.ast.Dashboard.description:type_name -> google.protobuf.StringValue + 5, // 3: com.coralogixapis.dashboards.v1.ast.Dashboard.layout:type_name -> com.coralogixapis.dashboards.v1.ast.Layout + 6, // 4: com.coralogixapis.dashboards.v1.ast.Dashboard.variables:type_name -> com.coralogixapis.dashboards.v1.ast.Variable + 7, // 5: com.coralogixapis.dashboards.v1.ast.Dashboard.filters:type_name -> com.coralogixapis.dashboards.v1.ast.Filter + 8, // 6: com.coralogixapis.dashboards.v1.ast.Dashboard.absolute_time_frame:type_name -> com.coralogixapis.dashboards.v1.common.TimeFrame + 9, // 7: com.coralogixapis.dashboards.v1.ast.Dashboard.relative_time_frame:type_name -> google.protobuf.Duration + 10, // 8: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_id:type_name -> com.coralogixapis.dashboards.v1.UUID + 11, // 9: com.coralogixapis.dashboards.v1.ast.Dashboard.folder_path:type_name -> com.coralogixapis.dashboards.v1.ast.FolderPath + 12, // 10: com.coralogixapis.dashboards.v1.ast.Dashboard.annotations:type_name -> com.coralogixapis.dashboards.v1.ast.Annotation + 1, // 11: com.coralogixapis.dashboards.v1.ast.Dashboard.off:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshOff + 2, // 12: com.coralogixapis.dashboards.v1.ast.Dashboard.two_minutes:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshTwoMinutes + 3, // 13: com.coralogixapis.dashboards.v1.ast.Dashboard.five_minutes:type_name -> com.coralogixapis.dashboards.v1.ast.Dashboard.AutoRefreshFiveMinutes + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() } @@ -371,12 +572,51 @@ func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() { return nil } } + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Dashboard_AutoRefreshOff); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Dashboard_AutoRefreshTwoMinutes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Dashboard_AutoRefreshFiveMinutes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_msgTypes[0].OneofWrappers = []interface{}{ (*Dashboard_AbsoluteTimeFrame)(nil), (*Dashboard_RelativeTimeFrame)(nil), (*Dashboard_FolderId)(nil), (*Dashboard_FolderPath)(nil), + (*Dashboard_Off)(nil), + (*Dashboard_TwoMinutes)(nil), + (*Dashboard_FiveMinutes)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -384,7 +624,7 @@ func file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_ast_dashboard_proto_rawDesc, NumEnums: 0, - NumMessages: 1, + NumMessages: 4, NumExtensions: 0, NumServices: 0, }, diff --git a/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go b/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go index 8c67a273..26fc35ce 100644 --- a/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go +++ b/coralogix/clientset/grpc/dashboards/data_mode_type.pb.go @@ -81,8 +81,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_common_data_mode_type_proto 0x1f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x01, 0x42, 0x03, - 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x01, 0x42, 0x04, + 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/data_table.pb.go b/coralogix/clientset/grpc/dashboards/data_table.pb.go index 4d722def..fb37f892 100644 --- a/coralogix/clientset/grpc/dashboards/data_table.pb.go +++ b/coralogix/clientset/grpc/dashboards/data_table.pb.go @@ -1070,8 +1070,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_data_table_proto_rawDesc = 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x44, 0x45, 0x4e, 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x59, 0x4c, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x59, 0x4c, - 0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x05, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x05, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go b/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go index 42306a6b..848650e7 100644 --- a/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go +++ b/coralogix/clientset/grpc/dashboards/dataprime_result.pb.go @@ -165,8 +165,8 @@ var file_com_coralogixapis_dashboards_v1_common_dataprime_result_proto_rawDesc = 0x1a, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/filter.pb.go b/coralogix/clientset/grpc/dashboards/filter.pb.go index 919dd6a2..e5837ea2 100644 --- a/coralogix/clientset/grpc/dashboards/filter.pb.go +++ b/coralogix/clientset/grpc/dashboards/filter.pb.go @@ -988,8 +988,8 @@ var file_com_coralogixapis_dashboards_v1_ast_filter_proto_rawDesc = []byte{ 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, - 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/folder_path.pb.go b/coralogix/clientset/grpc/dashboards/folder_path.pb.go index e23e4396..7493cb04 100644 --- a/coralogix/clientset/grpc/dashboards/folder_path.pb.go +++ b/coralogix/clientset/grpc/dashboards/folder_path.pb.go @@ -78,8 +78,8 @@ var file_com_coralogixapis_dashboards_v1_ast_folder_path_proto_rawDesc = []byte{ 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x22, 0x28, 0x0a, 0x0a, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/gauge.pb.go b/coralogix/clientset/grpc/dashboards/gauge.pb.go index a4d8f0f2..19248755 100644 --- a/coralogix/clientset/grpc/dashboards/gauge.pb.go +++ b/coralogix/clientset/grpc/dashboards/gauge.pb.go @@ -509,10 +509,11 @@ type Gauge_LogsQuery struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - LogsAggregation *LogsAggregation `protobuf:"bytes,2,opt,name=logs_aggregation,json=logsAggregation,proto3" json:"logs_aggregation,omitempty"` - Aggregation Gauge_Aggregation `protobuf:"varint,3,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` - Filters []*Filter_LogsFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` + LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + LogsAggregation *LogsAggregation `protobuf:"bytes,2,opt,name=logs_aggregation,json=logsAggregation,proto3" json:"logs_aggregation,omitempty"` + // Deprecated: Do not use. + Aggregation Gauge_Aggregation `protobuf:"varint,3,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` + Filters []*Filter_LogsFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` } func (x *Gauge_LogsQuery) Reset() { @@ -561,6 +562,7 @@ func (x *Gauge_LogsQuery) GetLogsAggregation() *LogsAggregation { return nil } +// Deprecated: Do not use. func (x *Gauge_LogsQuery) GetAggregation() Gauge_Aggregation { if x != nil { return x.Aggregation @@ -580,10 +582,11 @@ type Gauge_SpansQuery struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` - SpansAggregation *SpansAggregation `protobuf:"bytes,2,opt,name=spans_aggregation,json=spansAggregation,proto3" json:"spans_aggregation,omitempty"` - Aggregation Gauge_Aggregation `protobuf:"varint,3,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` - Filters []*Filter_SpansFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` + LuceneQuery *LuceneQuery `protobuf:"bytes,1,opt,name=lucene_query,json=luceneQuery,proto3" json:"lucene_query,omitempty"` + SpansAggregation *SpansAggregation `protobuf:"bytes,2,opt,name=spans_aggregation,json=spansAggregation,proto3" json:"spans_aggregation,omitempty"` + // Deprecated: Do not use. + Aggregation Gauge_Aggregation `protobuf:"varint,3,opt,name=aggregation,proto3,enum=com.coralogixapis.dashboards.v1.ast.widgets.Gauge_Aggregation" json:"aggregation,omitempty"` + Filters []*Filter_SpansFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` } func (x *Gauge_SpansQuery) Reset() { @@ -632,6 +635,7 @@ func (x *Gauge_SpansQuery) GetSpansAggregation() *SpansAggregation { return nil } +// Deprecated: Do not use. func (x *Gauge_SpansQuery) GetAggregation() Gauge_Aggregation { if x != nil { return x.Aggregation @@ -790,7 +794,7 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc = []byt 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x17, 0x0a, 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfd, 0x17, 0x0a, 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x4e, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, @@ -876,7 +880,7 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc = []byt 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x73, 0x1a, 0x87, 0x03, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x1a, 0x8b, 0x03, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, @@ -889,100 +893,101 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_gauge_proto_rawDesc = []byt 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x6c, 0x6f, 0x67, 0x73, 0x41, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x60, 0x0a, 0x0b, 0x61, 0x67, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x47, 0x61, - 0x75, 0x67, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x07, - 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x8c, - 0x03, 0x0a, 0x0a, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x62, 0x0a, - 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x75, 0x67, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x50, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, + 0x6f, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x73, 0x1a, 0x90, 0x03, 0x0a, 0x0a, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x62, 0x0a, 0x0c, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, + 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x65, 0x0a, 0x11, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x61, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x61, 0x6e, + 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x0b, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x3e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, + 0x47, 0x61, 0x75, 0x67, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x52, 0x0b, 0x6c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x65, 0x0a, 0x11, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x41, 0x67, 0x67, - 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x60, 0x0a, 0x0b, 0x61, 0x67, 0x67, 0x72, - 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x47, 0x61, 0x75, 0x67, - 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, - 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x07, 0x66, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, - 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xbf, 0x01, - 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x5f, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x4c, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, - 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, - 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, - 0x71, 0x0a, 0x09, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, - 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, - 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x32, - 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x63, 0x6f, 0x6c, - 0x6f, 0x72, 0x22, 0x94, 0x01, 0x0a, 0x0b, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x14, 0x0a, 0x10, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, - 0x41, 0x53, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, - 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x03, 0x12, - 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, - 0x56, 0x47, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x4d, 0x10, 0x05, 0x22, 0xd0, 0x02, 0x0a, 0x04, 0x55, 0x6e, - 0x69, 0x74, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, - 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x55, - 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, - 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, - 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, - 0x54, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x55, - 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x49, 0x54, 0x5f, 0x4b, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, - 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x08, 0x12, 0x0f, 0x0a, - 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x12, - 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x53, 0x5f, 0x49, 0x45, 0x43, - 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4b, 0x49, 0x42, 0x59, 0x54, - 0x45, 0x53, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x42, - 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, - 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0d, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, - 0x5f, 0x45, 0x55, 0x52, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, - 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, 0x52, 0x10, 0x0f, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, - 0x49, 0x54, 0x5f, 0x55, 0x53, 0x44, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x10, 0x12, 0x0c, - 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x53, 0x44, 0x10, 0x11, 0x22, 0x60, 0x0a, 0x0b, - 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x42, 0x79, 0x12, 0x1c, 0x0a, 0x18, 0x54, - 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x48, 0x52, - 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, - 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, - 0x59, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x47, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x42, 0x03, - 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x07, 0x66, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xbf, 0x01, 0x0a, 0x0e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, + 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5f, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, + 0x70, 0x72, 0x69, 0x6d, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x4c, 0x0a, 0x07, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, + 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x07, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x71, 0x0a, 0x09, 0x54, 0x68, 0x72, 0x65, 0x73, + 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x32, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x94, 0x01, 0x0a, 0x0b, 0x41, + 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x47, + 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x47, 0x47, 0x52, 0x45, + 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x49, 0x4e, + 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x47, 0x47, 0x52, 0x45, + 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, + 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x55, 0x4d, 0x10, + 0x05, 0x22, 0xd0, 0x02, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x4e, + 0x49, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, + 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x50, 0x45, 0x52, 0x43, 0x45, 0x4e, + 0x54, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x43, 0x52, + 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, + 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x53, 0x10, + 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, + 0x53, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, 0x59, 0x54, 0x45, + 0x53, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4b, 0x42, 0x59, 0x54, + 0x45, 0x53, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x42, 0x59, + 0x54, 0x45, 0x53, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, 0x42, + 0x59, 0x54, 0x45, 0x53, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x42, + 0x59, 0x54, 0x45, 0x53, 0x5f, 0x49, 0x45, 0x43, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, + 0x49, 0x54, 0x5f, 0x4b, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, + 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x4d, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x10, + 0x0a, 0x0c, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x47, 0x49, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0d, + 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, 0x52, 0x5f, 0x43, 0x45, 0x4e, + 0x54, 0x53, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, 0x52, + 0x10, 0x0f, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x53, 0x44, 0x5f, 0x43, + 0x45, 0x4e, 0x54, 0x53, 0x10, 0x10, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, + 0x53, 0x44, 0x10, 0x11, 0x22, 0x60, 0x0a, 0x0b, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x42, 0x79, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, + 0x5f, 0x42, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x48, 0x52, 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, + 0x59, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x48, 0x52, + 0x45, 0x53, 0x48, 0x4f, 0x4c, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x47, 0x52, + 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/group.pb.go b/coralogix/clientset/grpc/dashboards/group.pb.go index 717a609c..43d751c1 100644 --- a/coralogix/clientset/grpc/dashboards/group.pb.go +++ b/coralogix/clientset/grpc/dashboards/group.pb.go @@ -234,7 +234,7 @@ var file_com_coralogixapis_dashboards_v1_common_group_proto_rawDesc = []byte{ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/group_limit.pb.go b/coralogix/clientset/grpc/dashboards/group_limit.pb.go index 662f9286..3b1abc9e 100644 --- a/coralogix/clientset/grpc/dashboards/group_limit.pb.go +++ b/coralogix/clientset/grpc/dashboards/group_limit.pb.go @@ -107,8 +107,8 @@ var file_com_coralogixapis_dashboards_v1_common_group_limit_proto_rawDesc = []by 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x0d, 0x6d, 0x69, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x42, 0x03, - 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x0d, 0x6d, 0x69, 0x6e, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x42, 0x04, + 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/grouped_series.pb.go b/coralogix/clientset/grpc/dashboards/grouped_series.pb.go index b9e65c74..1760c900 100644 --- a/coralogix/clientset/grpc/dashboards/grouped_series.pb.go +++ b/coralogix/clientset/grpc/dashboards/grouped_series.pb.go @@ -85,7 +85,7 @@ var file_com_coralogixapis_dashboards_v1_common_grouped_series_proto_rawDesc = [ 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x73, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go b/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go index 73d9e768..acb803d4 100644 --- a/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/horizontal_bar_chart.pb.go @@ -972,7 +972,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_horizontal_bar_chart_proto_ 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x10, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4e, - 0x61, 0x6d, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x6d, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/labelled_value.pb.go b/coralogix/clientset/grpc/dashboards/labelled_value.pb.go index 6d284207..19123f51 100644 --- a/coralogix/clientset/grpc/dashboards/labelled_value.pb.go +++ b/coralogix/clientset/grpc/dashboards/labelled_value.pb.go @@ -112,7 +112,8 @@ var file_com_coralogixapis_dashboards_v1_common_labelled_value_proto_rawDesc = [ 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x02, 0x38, 0x01, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/layout.pb.go b/coralogix/clientset/grpc/dashboards/layout.pb.go index c649f4a3..1c86d5c3 100644 --- a/coralogix/clientset/grpc/dashboards/layout.pb.go +++ b/coralogix/clientset/grpc/dashboards/layout.pb.go @@ -280,8 +280,8 @@ var file_com_coralogixapis_dashboards_v1_ast_layout_proto_rawDesc = []byte{ 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/legend.pb.go b/coralogix/clientset/grpc/dashboards/legend.pb.go index cd287ff4..d7674d1f 100644 --- a/coralogix/clientset/grpc/dashboards/legend.pb.go +++ b/coralogix/clientset/grpc/dashboards/legend.pb.go @@ -183,8 +183,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_common_legend_proto_rawDesc 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x41, 0x56, 0x47, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x4c, 0x41, 0x53, 0x54, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x45, 0x4e, 0x44, 0x5f, 0x43, - 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x06, 0x42, 0x03, 0x5a, 0x01, - 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x06, 0x42, 0x04, 0x5a, 0x02, + 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/line_chart.pb.go b/coralogix/clientset/grpc/dashboards/line_chart.pb.go index 2242c24a..dd1c7739 100644 --- a/coralogix/clientset/grpc/dashboards/line_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/line_chart.pb.go @@ -994,8 +994,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_line_chart_proto_rawDesc = 0x13, 0x54, 0x4f, 0x4f, 0x4c, 0x54, 0x49, 0x50, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, - 0x08, 0x08, 0x10, 0x09, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x08, 0x08, 0x10, 0x09, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go b/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go index 7284d235..51cf5c06 100644 --- a/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go +++ b/coralogix/clientset/grpc/dashboards/log_severity_level.pb.go @@ -105,8 +105,8 @@ var file_com_coralogixapis_dashboards_v1_common_log_severity_level_proto_rawDesc 0x18, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x4c, 0x4f, 0x47, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4c, 0x45, 0x56, 0x45, - 0x4c, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x06, 0x42, 0x03, 0x5a, 0x01, - 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4c, 0x5f, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, 0x06, 0x42, 0x04, 0x5a, 0x02, + 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go b/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go index e871b020..f72847c6 100644 --- a/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go +++ b/coralogix/clientset/grpc/dashboards/logs_aggregation.pb.go @@ -671,8 +671,8 @@ var file_com_coralogixapis_dashboards_v1_common_logs_aggregation_proto_rawDesc = 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/markdown.pb.go b/coralogix/clientset/grpc/dashboards/markdown.pb.go index 0a374235..600eca9d 100644 --- a/coralogix/clientset/grpc/dashboards/markdown.pb.go +++ b/coralogix/clientset/grpc/dashboards/markdown.pb.go @@ -96,8 +96,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_markdown_proto_rawDesc = [] 0x6c, 0x74, 0x69, 0x70, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x74, - 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x54, 0x65, 0x78, 0x74, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6f, 0x6c, 0x74, 0x69, 0x70, 0x54, 0x65, 0x78, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/observation_field.pb.go b/coralogix/clientset/grpc/dashboards/observation_field.pb.go index 9723fadb..77723ee9 100644 --- a/coralogix/clientset/grpc/dashboards/observation_field.pb.go +++ b/coralogix/clientset/grpc/dashboards/observation_field.pb.go @@ -157,7 +157,7 @@ var file_com_coralogixapis_dashboards_v1_common_observation_field_proto_rawDesc 0x13, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, - 0x10, 0x03, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x10, 0x03, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/order_direction.pb.go b/coralogix/clientset/grpc/dashboards/order_direction.pb.go index fc62b0f6..507bbc5d 100644 --- a/coralogix/clientset/grpc/dashboards/order_direction.pb.go +++ b/coralogix/clientset/grpc/dashboards/order_direction.pb.go @@ -84,8 +84,8 @@ var file_com_coralogixapis_dashboards_v1_common_order_direction_proto_rawDesc = 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x52, 0x45, - 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x02, 0x42, 0x03, 0x5a, 0x01, - 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x02, 0x42, 0x04, 0x5a, 0x02, + 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/ordering_field.pb.go b/coralogix/clientset/grpc/dashboards/ordering_field.pb.go index d8059d38..b6421ea5 100644 --- a/coralogix/clientset/grpc/dashboards/ordering_field.pb.go +++ b/coralogix/clientset/grpc/dashboards/ordering_field.pb.go @@ -101,8 +101,8 @@ var file_com_coralogixapis_dashboards_v1_common_ordering_field_proto_rawDesc = [ 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6f, 0x72, 0x64, 0x65, - 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/pagination.pb.go b/coralogix/clientset/grpc/dashboards/pagination.pb.go index 342898fc..f063bd00 100644 --- a/coralogix/clientset/grpc/dashboards/pagination.pb.go +++ b/coralogix/clientset/grpc/dashboards/pagination.pb.go @@ -94,8 +94,8 @@ var file_com_coralogixapis_dashboards_v1_common_pagination_proto_rawDesc = []byt 0x66, 0x73, 0x65, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/pie_chart.pb.go b/coralogix/clientset/grpc/dashboards/pie_chart.pb.go index ec7037ce..b574c027 100644 --- a/coralogix/clientset/grpc/dashboards/pie_chart.pb.go +++ b/coralogix/clientset/grpc/dashboards/pie_chart.pb.go @@ -1023,8 +1023,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_pie_chart_proto_rawDesc = [ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x4e, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, - 0x45, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/query.pb.go b/coralogix/clientset/grpc/dashboards/query.pb.go index 336f306f..bbc14177 100644 --- a/coralogix/clientset/grpc/dashboards/query.pb.go +++ b/coralogix/clientset/grpc/dashboards/query.pb.go @@ -115,6 +115,61 @@ func (x *SerializedDataprimeQuery) GetData() []byte { return nil } +type FullDataprimeQuery struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Serialized *SerializedDataprimeQuery `protobuf:"bytes,1,opt,name=serialized,proto3" json:"serialized,omitempty"` + Raw *DataprimeQuery `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` +} + +func (x *FullDataprimeQuery) Reset() { + *x = FullDataprimeQuery{} + if protoimpl.UnsafeEnabled { + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FullDataprimeQuery) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FullDataprimeQuery) ProtoMessage() {} + +func (x *FullDataprimeQuery) ProtoReflect() protoreflect.Message { + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FullDataprimeQuery.ProtoReflect.Descriptor instead. +func (*FullDataprimeQuery) Descriptor() ([]byte, []int) { + return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{2} +} + +func (x *FullDataprimeQuery) GetSerialized() *SerializedDataprimeQuery { + if x != nil { + return x.Serialized + } + return nil +} + +func (x *FullDataprimeQuery) GetRaw() *DataprimeQuery { + if x != nil { + return x.Raw + } + return nil +} + type PromQlQuery struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -126,7 +181,7 @@ type PromQlQuery struct { func (x *PromQlQuery) Reset() { *x = PromQlQuery{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2] + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -139,7 +194,7 @@ func (x *PromQlQuery) String() string { func (*PromQlQuery) ProtoMessage() {} func (x *PromQlQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2] + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -152,7 +207,7 @@ func (x *PromQlQuery) ProtoReflect() protoreflect.Message { // Deprecated: Use PromQlQuery.ProtoReflect.Descriptor instead. func (*PromQlQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{2} + return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{3} } func (x *PromQlQuery) GetValue() *wrapperspb.StringValue { @@ -173,7 +228,7 @@ type LuceneQuery struct { func (x *LuceneQuery) Reset() { *x = LuceneQuery{} if protoimpl.UnsafeEnabled { - mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3] + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -186,7 +241,7 @@ func (x *LuceneQuery) String() string { func (*LuceneQuery) ProtoMessage() {} func (x *LuceneQuery) ProtoReflect() protoreflect.Message { - mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3] + mi := &file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -199,7 +254,7 @@ func (x *LuceneQuery) ProtoReflect() protoreflect.Message { // Deprecated: Use LuceneQuery.ProtoReflect.Descriptor instead. func (*LuceneQuery) Descriptor() ([]byte, []int) { - return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{3} + return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP(), []int{4} } func (x *LuceneQuery) GetValue() *wrapperspb.StringValue { @@ -225,16 +280,28 @@ var file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc = []byte{ 0x78, 0x74, 0x22, 0x2e, 0x0a, 0x18, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x22, 0x41, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0b, 0x4c, 0x75, 0x63, 0x65, 0x6e, 0x65, 0x51, + 0x74, 0x61, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x46, 0x75, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x70, + 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x60, 0x0a, 0x0a, 0x73, 0x65, 0x72, + 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, + 0x64, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x0a, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x48, 0x0a, 0x03, 0x72, + 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x72, 0x69, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x52, 0x03, 0x72, 0x61, 0x77, 0x22, 0x41, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6d, 0x51, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0b, 0x4c, 0x75, 0x63, 0x65, + 0x6e, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, + 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -249,22 +316,25 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescGZIP() []byt return file_com_coralogixapis_dashboards_v1_common_query_proto_rawDescData } -var file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_com_coralogixapis_dashboards_v1_common_query_proto_goTypes = []interface{}{ (*DataprimeQuery)(nil), // 0: com.coralogixapis.dashboards.v1.common.DataprimeQuery (*SerializedDataprimeQuery)(nil), // 1: com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery - (*PromQlQuery)(nil), // 2: com.coralogixapis.dashboards.v1.common.PromQlQuery - (*LuceneQuery)(nil), // 3: com.coralogixapis.dashboards.v1.common.LuceneQuery - (*wrapperspb.StringValue)(nil), // 4: google.protobuf.StringValue + (*FullDataprimeQuery)(nil), // 2: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery + (*PromQlQuery)(nil), // 3: com.coralogixapis.dashboards.v1.common.PromQlQuery + (*LuceneQuery)(nil), // 4: com.coralogixapis.dashboards.v1.common.LuceneQuery + (*wrapperspb.StringValue)(nil), // 5: google.protobuf.StringValue } var file_com_coralogixapis_dashboards_v1_common_query_proto_depIdxs = []int32{ - 4, // 0: com.coralogixapis.dashboards.v1.common.PromQlQuery.value:type_name -> google.protobuf.StringValue - 4, // 1: com.coralogixapis.dashboards.v1.common.LuceneQuery.value:type_name -> google.protobuf.StringValue - 2, // [2:2] is the sub-list for method output_type - 2, // [2:2] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name + 1, // 0: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery.serialized:type_name -> com.coralogixapis.dashboards.v1.common.SerializedDataprimeQuery + 0, // 1: com.coralogixapis.dashboards.v1.common.FullDataprimeQuery.raw:type_name -> com.coralogixapis.dashboards.v1.common.DataprimeQuery + 5, // 2: com.coralogixapis.dashboards.v1.common.PromQlQuery.value:type_name -> google.protobuf.StringValue + 5, // 3: com.coralogixapis.dashboards.v1.common.LuceneQuery.value:type_name -> google.protobuf.StringValue + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_common_query_proto_init() } @@ -298,7 +368,7 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_init() { } } file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PromQlQuery); i { + switch v := v.(*FullDataprimeQuery); i { case 0: return &v.state case 1: @@ -310,6 +380,18 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_init() { } } file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PromQlQuery); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_com_coralogixapis_dashboards_v1_common_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LuceneQuery); i { case 0: return &v.state @@ -328,7 +410,7 @@ func file_com_coralogixapis_dashboards_v1_common_query_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_com_coralogixapis_dashboards_v1_common_query_proto_rawDesc, NumEnums: 0, - NumMessages: 4, + NumMessages: 5, NumExtensions: 0, NumServices: 0, }, diff --git a/coralogix/clientset/grpc/dashboards/scale.pb.go b/coralogix/clientset/grpc/dashboards/scale.pb.go index 80c53ff6..9845dbf9 100644 --- a/coralogix/clientset/grpc/dashboards/scale.pb.go +++ b/coralogix/clientset/grpc/dashboards/scale.pb.go @@ -85,7 +85,7 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_common_scale_proto_rawDesc 0x11, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x47, 0x41, 0x52, 0x49, 0x54, 0x48, 0x4d, 0x49, 0x43, 0x10, 0x02, - 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/sort_by.pb.go b/coralogix/clientset/grpc/dashboards/sort_by.pb.go index 97c308f8..dc22b71d 100644 --- a/coralogix/clientset/grpc/dashboards/sort_by.pb.go +++ b/coralogix/clientset/grpc/dashboards/sort_by.pb.go @@ -85,7 +85,7 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_common_sort_by_proto_rawDes 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x52, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x4f, 0x52, 0x54, 0x5f, 0x42, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, - 0x02, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x02, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/span_field.pb.go b/coralogix/clientset/grpc/dashboards/span_field.pb.go index 2dfd6e60..45f0d545 100644 --- a/coralogix/clientset/grpc/dashboards/span_field.pb.go +++ b/coralogix/clientset/grpc/dashboards/span_field.pb.go @@ -209,8 +209,8 @@ var file_com_coralogixapis_dashboards_v1_common_span_field_proto_rawDesc = []byt 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x03, 0x12, 0x21, 0x0a, 0x1d, 0x4d, 0x45, 0x54, 0x41, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x04, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go b/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go index 2954b0d0..69c764a2 100644 --- a/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go +++ b/coralogix/clientset/grpc/dashboards/spans_aggregation.pb.go @@ -520,8 +520,8 @@ var file_com_coralogixapis_dashboards_v1_common_spans_aggregation_proto_rawDesc 0x12, 0x2a, 0x0a, 0x26, 0x44, 0x49, 0x4d, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x02, 0x42, 0x0d, 0x0a, 0x0b, - 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0x5a, 0x01, 0x2e, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0x5a, 0x02, 0x2e, + 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/time_frame.pb.go b/coralogix/clientset/grpc/dashboards/time_frame.pb.go index 0e55a0fe..b17651b0 100644 --- a/coralogix/clientset/grpc/dashboards/time_frame.pb.go +++ b/coralogix/clientset/grpc/dashboards/time_frame.pb.go @@ -93,8 +93,8 @@ var file_com_coralogixapis_dashboards_v1_common_time_frame_proto_rawDesc = []byt 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x6f, 0x42, 0x03, 0x5a, 0x01, 0x2e, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x6f, 0x42, 0x04, 0x5a, 0x02, 0x2e, + 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/time_series.pb.go b/coralogix/clientset/grpc/dashboards/time_series.pb.go index 87ac658c..f5fa98ef 100644 --- a/coralogix/clientset/grpc/dashboards/time_series.pb.go +++ b/coralogix/clientset/grpc/dashboards/time_series.pb.go @@ -178,8 +178,8 @@ var file_com_coralogixapis_dashboards_v1_common_time_series_proto_rawDesc = []by 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, - 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, - 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, + 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/types.pb.go b/coralogix/clientset/grpc/dashboards/types.pb.go index 2382d8cf..5b578145 100644 --- a/coralogix/clientset/grpc/dashboards/types.pb.go +++ b/coralogix/clientset/grpc/dashboards/types.pb.go @@ -76,8 +76,8 @@ var file_com_coralogixapis_dashboards_v1_types_proto_rawDesc = []byte{ 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x1c, 0x0a, 0x04, 0x55, 0x55, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, - 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, + 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/units.pb.go b/coralogix/clientset/grpc/dashboards/units.pb.go index 64ea2618..e675cf2b 100644 --- a/coralogix/clientset/grpc/dashboards/units.pb.go +++ b/coralogix/clientset/grpc/dashboards/units.pb.go @@ -137,8 +137,8 @@ var file_com_coralogixapis_dashboards_v1_ast_widgets_common_units_proto_rawDesc 0x54, 0x53, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x45, 0x55, 0x52, 0x10, 0x0d, 0x12, 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, 0x53, 0x44, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x49, 0x54, 0x5f, 0x55, - 0x53, 0x44, 0x10, 0x0f, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x53, 0x44, 0x10, 0x0f, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/coralogix/clientset/grpc/dashboards/variable.pb.go b/coralogix/clientset/grpc/dashboards/variable.pb.go index c107cf49..a20e37a6 100644 --- a/coralogix/clientset/grpc/dashboards/variable.pb.go +++ b/coralogix/clientset/grpc/dashboards/variable.pb.go @@ -254,6 +254,7 @@ func (m *Variable_Definition) GetValue() isVariable_Definition_Value { return nil } +// Deprecated: Do not use. func (x *Variable_Definition) GetConstant() *Constant { if x, ok := x.GetValue().(*Variable_Definition_Constant); ok { return x.Constant @@ -273,6 +274,7 @@ type isVariable_Definition_Value interface { } type Variable_Definition_Constant struct { + // Deprecated: Do not use. Constant *Constant `protobuf:"bytes,1,opt,name=constant,proto3,oneof"` } @@ -397,7 +399,8 @@ type MultiSelect_LogsPathSource struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + ObservationField *ObservationField `protobuf:"bytes,3,opt,name=observation_field,json=observationField,proto3" json:"observation_field,omitempty"` } func (x *MultiSelect_LogsPathSource) Reset() { @@ -439,6 +442,13 @@ func (x *MultiSelect_LogsPathSource) GetValue() *wrapperspb.StringValue { return nil } +func (x *MultiSelect_LogsPathSource) GetObservationField() *ObservationField { + if x != nil { + return x.ObservationField + } + return nil +} + type MultiSelect_MetricLabelSource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -769,9 +779,13 @@ var file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDesc = []byte{ 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x3e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x93, 0x03, 0x0a, 0x08, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, + 0x22, 0x97, 0x03, 0x0a, 0x08, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, @@ -784,115 +798,122 @@ var file_com_coralogixapis_dashboards_v1_ast_variable_proto_rawDesc = []byte{ 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x64, - 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xb9, 0x01, 0x0a, 0x0a, 0x44, - 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x08, 0x63, 0x6f, 0x6e, + 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x0a, 0x44, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, - 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x63, 0x6f, - 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, - 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, - 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, - 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x48, 0x00, - 0x52, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x42, 0x07, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3e, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, - 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb2, 0x0b, 0x0a, 0x0b, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, - 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, - 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, + 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x0c, 0x6d, 0x75, + 0x6c, 0x74, 0x69, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, + 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3e, 0x0a, 0x08, 0x43, 0x6f, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x9a, 0x0c, 0x0a, 0x0b, 0x4d, + 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x08, 0x73, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, + 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x6c, 0x0a, 0x16, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x09, 0x73, 0x65, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, + 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, 0x16, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x6f, 0x72, + 0x64, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, + 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0xa9, 0x03, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x09, + 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xa9, 0x03, - 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x5e, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x73, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, - 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x4c, 0x6f, - 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x08, - 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x67, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x72, - 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, - 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, - 0x6c, 0x12, 0x6a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x6c, 0x69, - 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, - 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, - 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x74, - 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, - 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x61, 0x0a, - 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, - 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, - 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, - 0x65, 0x63, 0x74, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x44, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, - 0x73, 0x50, 0x61, 0x74, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, - 0x86, 0x01, 0x0a, 0x11, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x1a, 0x5a, 0x0a, 0x0f, 0x53, 0x70, 0x61, 0x6e, - 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, - 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, - 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, - 0x1a, 0xa8, 0x02, 0x0a, 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, - 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x63, 0x6f, - 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, - 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x5e, 0x0a, 0x04, 0x6c, - 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x0e, 0x0a, 0x0c, 0x41, - 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x45, 0x0a, 0x0d, 0x4c, - 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x06, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0x5a, 0x01, 0x2e, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x67, 0x0a, 0x0c, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, + 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x6a, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, + 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, + 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x43, + 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x61, 0x0a, 0x0a, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x61, 0x6e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xab, 0x01, + 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x65, 0x0a, 0x11, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x38, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, + 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x10, 0x6f, 0x62, 0x73, 0x65, 0x72, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x1a, 0x86, 0x01, 0x0a, 0x11, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x32, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x1a, 0x5a, 0x0a, 0x0f, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, + 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, + 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x53, 0x70, 0x61, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x1a, 0x4a, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0xa8, 0x02, 0x0a, + 0x09, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x03, 0x61, 0x6c, + 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x5e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, + 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, + 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x0e, 0x0a, 0x0c, 0x41, 0x6c, 0x6c, 0x53, 0x65, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x45, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, + 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x07, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x04, 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -923,7 +944,8 @@ var file_com_coralogixapis_dashboards_v1_ast_variable_proto_goTypes = []interfac (*MultiSelect_Selection_ListSelection)(nil), // 11: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection (*wrapperspb.StringValue)(nil), // 12: google.protobuf.StringValue (OrderDirection)(0), // 13: com.coralogixapis.dashboards.v1.common.OrderDirection - (*SpanField)(nil), // 14: com.coralogixapis.dashboards.v1.common.SpanField + (*ObservationField)(nil), // 14: com.coralogixapis.dashboards.v1.common.ObservationField + (*SpanField)(nil), // 15: com.coralogixapis.dashboards.v1.common.SpanField } var file_com_coralogixapis_dashboards_v1_ast_variable_proto_depIdxs = []int32{ 12, // 0: com.coralogixapis.dashboards.v1.ast.Variable.name:type_name -> google.protobuf.StringValue @@ -941,18 +963,19 @@ var file_com_coralogixapis_dashboards_v1_ast_variable_proto_depIdxs = []int32{ 8, // 12: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.constant_list:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.ConstantListSource 7, // 13: com.coralogixapis.dashboards.v1.ast.MultiSelect.Source.span_field:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.SpanFieldSource 12, // 14: com.coralogixapis.dashboards.v1.ast.MultiSelect.LogsPathSource.value:type_name -> google.protobuf.StringValue - 12, // 15: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource.metric_name:type_name -> google.protobuf.StringValue - 12, // 16: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource.label:type_name -> google.protobuf.StringValue - 14, // 17: com.coralogixapis.dashboards.v1.ast.MultiSelect.SpanFieldSource.value:type_name -> com.coralogixapis.dashboards.v1.common.SpanField - 12, // 18: com.coralogixapis.dashboards.v1.ast.MultiSelect.ConstantListSource.values:type_name -> google.protobuf.StringValue - 10, // 19: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.all:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.AllSelection - 11, // 20: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.list:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection - 12, // 21: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection.values:type_name -> google.protobuf.StringValue - 22, // [22:22] is the sub-list for method output_type - 22, // [22:22] is the sub-list for method input_type - 22, // [22:22] is the sub-list for extension type_name - 22, // [22:22] is the sub-list for extension extendee - 0, // [0:22] is the sub-list for field type_name + 14, // 15: com.coralogixapis.dashboards.v1.ast.MultiSelect.LogsPathSource.observation_field:type_name -> com.coralogixapis.dashboards.v1.common.ObservationField + 12, // 16: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource.metric_name:type_name -> google.protobuf.StringValue + 12, // 17: com.coralogixapis.dashboards.v1.ast.MultiSelect.MetricLabelSource.label:type_name -> google.protobuf.StringValue + 15, // 18: com.coralogixapis.dashboards.v1.ast.MultiSelect.SpanFieldSource.value:type_name -> com.coralogixapis.dashboards.v1.common.SpanField + 12, // 19: com.coralogixapis.dashboards.v1.ast.MultiSelect.ConstantListSource.values:type_name -> google.protobuf.StringValue + 10, // 20: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.all:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.AllSelection + 11, // 21: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.list:type_name -> com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection + 12, // 22: com.coralogixapis.dashboards.v1.ast.MultiSelect.Selection.ListSelection.values:type_name -> google.protobuf.StringValue + 23, // [23:23] is the sub-list for method output_type + 23, // [23:23] is the sub-list for method input_type + 23, // [23:23] is the sub-list for extension type_name + 23, // [23:23] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name } func init() { file_com_coralogixapis_dashboards_v1_ast_variable_proto_init() } @@ -962,6 +985,7 @@ func file_com_coralogixapis_dashboards_v1_ast_variable_proto_init() { } file_com_coralogixapis_dashboards_v1_common_order_direction_proto_init() file_com_coralogixapis_dashboards_v1_common_span_field_proto_init() + file_com_coralogixapis_dashboards_v1_common_observation_field_proto_init() if !protoimpl.UnsafeEnabled { file_com_coralogixapis_dashboards_v1_ast_variable_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Variable); i { diff --git a/coralogix/clientset/grpc/dashboards/widget.pb.go b/coralogix/clientset/grpc/dashboards/widget.pb.go index c767e2e2..f6a64cd6 100644 --- a/coralogix/clientset/grpc/dashboards/widget.pb.go +++ b/coralogix/clientset/grpc/dashboards/widget.pb.go @@ -30,7 +30,8 @@ type Widget struct { Title *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Definition *Widget_Definition `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` - Appearance *Widget_Appearance `protobuf:"bytes,5,opt,name=appearance,proto3" json:"appearance,omitempty"` + // Deprecated: Do not use. + Appearance *Widget_Appearance `protobuf:"bytes,5,opt,name=appearance,proto3" json:"appearance,omitempty"` } func (x *Widget) Reset() { @@ -93,6 +94,7 @@ func (x *Widget) GetDefinition() *Widget_Definition { return nil } +// Deprecated: Do not use. func (x *Widget) GetAppearance() *Widget_Appearance { if x != nil { return x.Appearance @@ -337,7 +339,7 @@ var file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDesc = []byte{ 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x08, 0x0a, 0x06, 0x57, 0x69, 0x64, 0x67, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x08, 0x0a, 0x06, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, @@ -354,58 +356,58 @@ var file_com_coralogixapis_dashboards_v1_ast_widget_proto_rawDesc = []byte{ 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x57, 0x69, 0x64, 0x67, 0x65, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x89, 0x05, - 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x0a, - 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x4c, - 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, 0x6e, 0x65, - 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, - 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, - 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x4a, - 0x0a, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x47, 0x61, 0x75, 0x67, - 0x65, 0x48, 0x00, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x54, 0x0a, 0x09, 0x70, 0x69, - 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x50, 0x69, 0x65, 0x43, - 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x08, 0x70, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, - 0x12, 0x54, 0x0a, 0x09, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, - 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, - 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, - 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x08, 0x62, 0x61, - 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x73, 0x0a, 0x14, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, - 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, + 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, + 0x65, 0x1a, 0x89, 0x05, 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x57, 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, - 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, - 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x12, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, - 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x53, 0x0a, 0x08, 0x6d, - 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, + 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, + 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, - 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x64, 0x6f, 0x77, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, - 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x3f, 0x0a, 0x0a, 0x41, 0x70, 0x70, - 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x42, 0x03, 0x5a, 0x01, 0x2e, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x61, 0x74, 0x61, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x4a, 0x0a, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, + 0x47, 0x61, 0x75, 0x67, 0x65, 0x48, 0x00, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x54, + 0x0a, 0x09, 0x70, 0x69, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, + 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x08, 0x70, 0x69, 0x65, 0x43, + 0x68, 0x61, 0x72, 0x74, 0x12, 0x54, 0x0a, 0x09, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x72, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, + 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, + 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, + 0x52, 0x08, 0x62, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x73, 0x0a, 0x14, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x72, 0x5f, 0x63, 0x68, 0x61, + 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, + 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, + 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, + 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, + 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x12, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x6f, 0x6e, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x72, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, + 0x53, 0x0a, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x72, 0x61, 0x6c, 0x6f, 0x67, 0x69, + 0x78, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, + 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x73, 0x74, 0x2e, 0x77, 0x69, 0x64, 0x67, 0x65, 0x74, 0x73, 0x2e, + 0x4d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, + 0x64, 0x6f, 0x77, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x3f, 0x0a, + 0x0a, 0x41, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x77, + 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, + 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x42, 0x04, + 0x5a, 0x02, 0x2e, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/coralogix/resource_coralogix_dashboard.go b/coralogix/resource_coralogix_dashboard.go index 2c289049..a5573df7 100644 --- a/coralogix/resource_coralogix_dashboard.go +++ b/coralogix/resource_coralogix_dashboard.go @@ -224,12 +224,13 @@ type DashboardResourceModel struct { ID types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` - Layout types.Object `tfsdk:"layout"` //DashboardLayoutModel - Variables types.List `tfsdk:"variables"` //DashboardVariableModel - Filters types.List `tfsdk:"filters"` //DashboardFilterModel - TimeFrame types.Object `tfsdk:"time_frame"` //DashboardTimeFrameModel - Folder types.Object `tfsdk:"folder"` //DashboardFolderModel - Annotations types.List `tfsdk:"annotations"` //DashboardAnnotationModel + Layout types.Object `tfsdk:"layout"` //DashboardLayoutModel + Variables types.List `tfsdk:"variables"` //DashboardVariableModel + Filters types.List `tfsdk:"filters"` //DashboardFilterModel + TimeFrame types.Object `tfsdk:"time_frame"` //DashboardTimeFrameModel + Folder types.Object `tfsdk:"folder"` //DashboardFolderModel + Annotations types.List `tfsdk:"annotations"` //DashboardAnnotationModel + AutoRefresh types.Object `tfsdk:"auto_refresh"` //DashboardAutoRefreshModel ContentJson types.String `tfsdk:"content_json"` } @@ -740,7 +741,9 @@ type DashboardAnnotationModel struct { } type DashboardAnnotationSourceModel struct { - Metric types.Object `tfsdk:"metric"` //DashboardAnnotationMetricSourceModel + Metric types.Object `tfsdk:"metrics"` //DashboardAnnotationMetricSourceModel + Spans types.Object `tfsdk:"spans"` //DashboardAnnotationSpansOrLogsSourceModel + Logs types.Object `tfsdk:"logs"` //DashboardAnnotationSpansOrLogsSourceModel } type DashboardAnnotationMetricSourceModel struct { @@ -750,6 +753,33 @@ type DashboardAnnotationMetricSourceModel struct { Labels types.List `tfsdk:"labels"` //types.String } +type DashboardAnnotationSpansOrLogsSourceModel struct { + LuceneQuery types.String `tfsdk:"lucene_query"` + Strategy types.Object `tfsdk:"strategy"` //DashboardAnnotationSpanOrLogsStrategyModel + MessageTemplate types.String `tfsdk:"message_template"` + LabelFields types.List `tfsdk:"label_fields"` //ObservationFieldModel +} + +type DashboardAnnotationSpanOrLogsStrategyModel struct { + Instant types.Object `tfsdk:"instant"` //DashboardAnnotationInstantStrategyModel + Range types.Object `tfsdk:"range"` //DashboardAnnotationRangeStrategyModel + Duration types.Object `tfsdk:"duration"` //DashboardAnnotationDurationStrategyModel +} + +type DashboardAnnotationInstantStrategyModel struct { + TimestampField types.Object `tfsdk:"timestamp_field"` //ObservationFieldModel +} + +type DashboardAnnotationRangeStrategyModel struct { + StartTimestampField types.Object `tfsdk:"start_time_timestamp_field"` //ObservationFieldModel + EndTimestampField types.Object `tfsdk:"end_time_timestamp_field"` //ObservationFieldModel +} + +type DashboardAnnotationDurationStrategyModel struct { + StartTimestampField types.Object `tfsdk:"start_timestamp_field"` //ObservationFieldModel + DurationField types.Object `tfsdk:"duration_field"` //ObservationFieldModel +} + type DashboardAnnotationMetricStrategyModel struct { StartTime types.Object `tfsdk:"start_time"` //MetricStrategyStartTimeModel } @@ -757,6 +787,10 @@ type DashboardAnnotationMetricStrategyModel struct { type MetricStrategyStartTimeModel struct { } +type DashboardAutoRefreshModel struct { + Type types.String `tfsdk:"type"` +} + func NewDashboardResource() resource.Resource { return &DashboardResource{} } @@ -775,15 +809,15 @@ func (r DashboardResource) Metadata(_ context.Context, req resource.MetadataRequ type intervalValidator struct{} -func (i intervalValidator) Description(ctx context.Context) string { - return "" +func (i intervalValidator) Description(_ context.Context) string { + return "A duration string, such as 1s or 1m." } -func (i intervalValidator) MarkdownDescription(ctx context.Context) string { - return "" +func (i intervalValidator) MarkdownDescription(_ context.Context) string { + return "A duration string, such as 1s or 1m." } -func (i intervalValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse) { +func (i intervalValidator) ValidateString(_ context.Context, req validator.StringRequest, resp *validator.StringResponse) { if req.ConfigValue.IsNull() { return } @@ -795,7 +829,7 @@ func (i intervalValidator) ValidateString(ctx context.Context, req validator.Str func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { resp.Schema = schema.Schema{ - Version: 1, + Version: 2, Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Computed: true, @@ -2035,7 +2069,7 @@ func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest Optional: true, }, }, - MarkdownDescription: "The widget definition. Can contain one of `line_chart`, `bar_chart`, `pie_chart` `data_table` or `gauge`.", + MarkdownDescription: "The widget definition. Can contain one of 'line_chart', 'data_table', 'gauge', 'pie_chart', 'bar_chart', 'horizontal_bar_chart', 'markdown'.", }, "width": schema.Int64Attribute{ Optional: true, @@ -2278,7 +2312,7 @@ func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest }, "source": schema.SingleNestedAttribute{ Attributes: map[string]schema.Attribute{ - "metric": schema.SingleNestedAttribute{ + "metrics": schema.SingleNestedAttribute{ Attributes: map[string]schema.Attribute{ "promql_query": schema.StringAttribute{ Optional: true, @@ -2300,7 +2334,33 @@ func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest Optional: true, }, }, - Required: true, + Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("logs"), + path.MatchRelative().AtParent().AtName("spans"), + ), + }, + }, + "logs": schema.SingleNestedAttribute{ + Attributes: logsAndSpansAttributes(), + Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("spans"), + ), + }, + }, + "spans": schema.SingleNestedAttribute{ + Attributes: logsAndSpansAttributes(), + Optional: true, + Validators: []validator.Object{ + objectvalidator.ExactlyOneOf( + path.MatchRelative().AtParent().AtName("metrics"), + path.MatchRelative().AtParent().AtName("logs"), + ), + }, }, }, Required: true, @@ -2308,6 +2368,20 @@ func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest }, }, }, + "auto_refresh": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "type": schema.StringAttribute{ + Optional: true, + Computed: true, + Default: stringdefault.StaticString("off"), + Validators: []validator.String{ + stringvalidator.OneOf("off", "two_minutes", "five_minutes"), + }, + }, + }, + Optional: true, + Computed: true, + }, "content_json": schema.StringAttribute{ Optional: true, Validators: []validator.String{ @@ -2333,6 +2407,80 @@ func (r *DashboardResource) Schema(_ context.Context, req resource.SchemaRequest } } +func logsAndSpansAttributes() map[string]schema.Attribute { + return map[string]schema.Attribute{ + "lucene_query": schema.StringAttribute{ + Optional: true, + }, + "strategy": logsAndSpansStrategy(), + "message_template": schema.StringAttribute{ + Optional: true, + }, + "label_fields": schema.ListNestedAttribute{ + NestedObject: schema.NestedAttributeObject{ + Attributes: observationFieldSchemaAttributes(), + }, + Optional: true, + }, + } +} + +func logsAndSpansStrategy() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "instant": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "timestamp_field": observationFieldSingleNestedAttribute(), + }, + Optional: true, + }, + "range": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "start_timestamp_field": observationFieldSingleNestedAttribute(), + "end_timestamp_field": observationFieldSingleNestedAttribute(), + }, + Optional: true, + }, + "duration": schema.SingleNestedAttribute{ + Attributes: map[string]schema.Attribute{ + "start_timestamp_field": observationFieldSingleNestedAttribute(), + "duration_field": observationFieldSingleNestedAttribute(), + }, + Optional: true, + }, + }, + Required: true, + } +} + +func relativeTimeFrameAttributes() map[string]attr.Type { + return map[string]attr.Type{ + "duration": types.StringType, + } +} + +func observationFieldSingleNestedAttribute() schema.SingleNestedAttribute { + return schema.SingleNestedAttribute{ + Attributes: observationFieldSchema(), + Required: true, + } +} + +func observationFieldSchema() map[string]schema.Attribute { + return map[string]schema.Attribute{ + "keypath": schema.ListAttribute{ + ElementType: types.StringType, + Required: true, + }, + "scope": schema.StringAttribute{ + Required: true, + Validators: []validator.String{ + stringvalidator.OneOf(dashboardValidObservationFieldScope...), + }, + }, + } +} + func observationFieldSchemaAttributes() map[string]schema.Attribute { return map[string]schema.Attribute{ "keypath": schema.ListAttribute{ @@ -2873,7 +3021,12 @@ func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashbo return nil, diags } - dashboard, diags = expandDashboardFolder(dashboard, plan.Folder) + dashboard, diags = expandDashboardFolder(ctx, dashboard, plan.Folder) + if diags.HasError() { + return nil, diags + } + + dashboard, diags = expandDashboardAutoRefresh(ctx, dashboard, plan.AutoRefresh) if diags.HasError() { return nil, diags } @@ -2881,6 +3034,34 @@ func extractDashboard(ctx context.Context, plan DashboardResourceModel) (*dashbo return dashboard, nil } +func expandDashboardAutoRefresh(ctx context.Context, dashboard *dashboards.Dashboard, refresh types.Object) (*dashboards.Dashboard, diag.Diagnostics) { + if refresh.IsNull() || refresh.IsUnknown() { + return dashboard, nil + } + var refreshObject DashboardAutoRefreshModel + diags := refresh.As(ctx, &refreshObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + switch refreshObject.Type.ValueString() { + case "two_minutes": + dashboard.AutoRefresh = &dashboards.Dashboard_TwoMinutes{ + TwoMinutes: &dashboards.Dashboard_AutoRefreshTwoMinutes{}, + } + case "five_minutes": + dashboard.AutoRefresh = &dashboards.Dashboard_FiveMinutes{ + FiveMinutes: &dashboards.Dashboard_AutoRefreshFiveMinutes{}, + } + default: + dashboard.AutoRefresh = &dashboards.Dashboard_Off{ + Off: &dashboards.Dashboard_AutoRefreshOff{}, + } + } + + return dashboard, nil +} + func expandDashboardAnnotations(ctx context.Context, annotations types.List) ([]*dashboards.Annotation, diag.Diagnostics) { var annotationsObjects []types.Object var expandedAnnotations []*dashboards.Annotation @@ -2930,12 +3111,272 @@ func expandAnnotationSource(ctx context.Context, source types.Object) (*dashboar if diags.HasError() { return nil, diags } - metricSource, diags := expandMetricSource(ctx, sourceObject.Metric) + + switch { + case !(sourceObject.Logs.IsNull() || sourceObject.Logs.IsUnknown()): + logsSource, diags := expandLogsSource(ctx, sourceObject.Logs) + if diags.HasError() { + return nil, diags + } + return &dashboards.Annotation_Source{Value: logsSource}, nil + case !(sourceObject.Metric.IsNull() || sourceObject.Metric.IsUnknown()): + metricSource, diags := expandMetricSource(ctx, sourceObject.Metric) + if diags.HasError() { + return nil, diags + } + return &dashboards.Annotation_Source{Value: metricSource}, nil + case !(sourceObject.Spans.IsNull() || sourceObject.Spans.IsUnknown()): + spansSource, diags := expandSpansSource(ctx, sourceObject.Spans) + if diags.HasError() { + return nil, diags + } + return &dashboards.Annotation_Source{Value: spansSource}, nil + default: + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Annotation Source", "Annotation Source must be either Logs or Metric")} + } +} + +func expandLogsSource(ctx context.Context, logs types.Object) (*dashboards.Annotation_Source_Logs, diag.Diagnostics) { + if logs.IsNull() || logs.IsUnknown() { + return nil, nil + } + var logsObject DashboardAnnotationSpansOrLogsSourceModel + diags := logs.As(ctx, &logsObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + strategy, diags := expandLogsSourceStrategy(ctx, logsObject.Strategy) + if diags.HasError() { + return nil, diags + } + + labels, diags := expandObservationFields(ctx, logsObject.LabelFields) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_Source_Logs{ + Logs: &dashboards.Annotation_LogsSource{ + LuceneQuery: expandLuceneQuery(logsObject.LuceneQuery), + Strategy: strategy, + MessageTemplate: typeStringToWrapperspbString(logsObject.MessageTemplate), + LabelFields: labels, + }, + }, nil +} + +func expandLogsSourceStrategy(ctx context.Context, strategy types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { + var strategyObject DashboardAnnotationSpanOrLogsStrategyModel + diags := strategy.As(ctx, &strategyObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + switch { + case !(strategyObject.Instant.IsNull() || strategyObject.Instant.IsUnknown()): + return expandLogsSourceInstantStrategy(ctx, strategyObject.Instant) + case !(strategyObject.Range.IsNull() || strategyObject.Range.IsUnknown()): + return expandLogsSourceRangeStrategy(ctx, strategyObject.Range) + case !(strategyObject.Duration.IsNull() || strategyObject.Duration.IsUnknown()): + return expandLogsSourceDurationStrategy(ctx, strategyObject.Duration) + default: + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Logs Source Strategy", "Logs Source Strategy must be either Instant, Range or Duration")} + } +} + +func expandLogsSourceDurationStrategy(ctx context.Context, duration types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { + var durationObject DashboardAnnotationDurationStrategyModel + diags := duration.As(ctx, &durationObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + startTimestampField, diags := expandObservationFieldObject(ctx, durationObject.StartTimestampField) + if diags.HasError() { + return nil, diags + } + + durationField, diags := expandObservationFieldObject(ctx, durationObject.DurationField) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_LogsSource_Strategy{ + Value: &dashboards.Annotation_LogsSource_Strategy_Duration_{ + Duration: &dashboards.Annotation_LogsSource_Strategy_Duration{ + StartTimestampField: startTimestampField, + DurationField: durationField, + }, + }, + }, nil +} + +func expandLogsSourceRangeStrategy(ctx context.Context, object types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { + var rangeObject DashboardAnnotationRangeStrategyModel + if diags := object.As(ctx, &rangeObject, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + startTimestampField, diags := expandObservationFieldObject(ctx, rangeObject.StartTimestampField) + if diags.HasError() { + return nil, diags + } + + endTimestampField, diags := expandObservationFieldObject(ctx, rangeObject.EndTimestampField) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_LogsSource_Strategy{ + Value: &dashboards.Annotation_LogsSource_Strategy_Range_{ + Range: &dashboards.Annotation_LogsSource_Strategy_Range{ + StartTimestampField: startTimestampField, + EndTimestampField: endTimestampField, + }, + }, + }, nil +} + +func expandLogsSourceInstantStrategy(ctx context.Context, instant types.Object) (*dashboards.Annotation_LogsSource_Strategy, diag.Diagnostics) { + var instantObject DashboardAnnotationInstantStrategyModel + if diags := instant.As(ctx, &instantObject, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + timestampField, diags := expandObservationFieldObject(ctx, instantObject.TimestampField) if diags.HasError() { return nil, diags } - return &dashboards.Annotation_Source{ - Value: metricSource, + + return &dashboards.Annotation_LogsSource_Strategy{ + Value: &dashboards.Annotation_LogsSource_Strategy_Instant_{ + Instant: &dashboards.Annotation_LogsSource_Strategy_Instant{ + TimestampField: timestampField, + }, + }, + }, nil +} + +func expandSpansSourceStrategy(ctx context.Context, strategy types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { + var strategyObject DashboardAnnotationSpanOrLogsStrategyModel + diags := strategy.As(ctx, &strategyObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + switch { + case !(strategyObject.Instant.IsNull() || strategyObject.Instant.IsUnknown()): + return expandSpansSourceInstantStrategy(ctx, strategyObject.Instant) + case !(strategyObject.Range.IsNull() || strategyObject.Range.IsUnknown()): + return expandSpansSourceRangeStrategy(ctx, strategyObject.Range) + case !(strategyObject.Duration.IsNull() || strategyObject.Duration.IsUnknown()): + return expandSpansSourceDurationStrategy(ctx, strategyObject.Duration) + default: + return nil, diag.Diagnostics{diag.NewErrorDiagnostic("Error Expand Spans Source Strategy", "Spans Source Strategy must be either Instant, Range or Duration")} + } +} + +func expandSpansSourceDurationStrategy(ctx context.Context, duration types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { + var durationObject DashboardAnnotationDurationStrategyModel + diags := duration.As(ctx, &durationObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + startTimestampField, diags := expandObservationFieldObject(ctx, durationObject.StartTimestampField) + if diags.HasError() { + return nil, diags + } + + durationField, diags := expandObservationFieldObject(ctx, durationObject.DurationField) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_SpansSource_Strategy{ + Value: &dashboards.Annotation_SpansSource_Strategy_Duration_{ + Duration: &dashboards.Annotation_SpansSource_Strategy_Duration{ + StartTimestampField: startTimestampField, + DurationField: durationField, + }, + }, + }, nil +} + +func expandSpansSourceRangeStrategy(ctx context.Context, object types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { + var rangeObject DashboardAnnotationRangeStrategyModel + if diags := object.As(ctx, &rangeObject, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + startTimestampField, diags := expandObservationFieldObject(ctx, rangeObject.StartTimestampField) + if diags.HasError() { + return nil, diags + } + + endTimestampField, diags := expandObservationFieldObject(ctx, rangeObject.EndTimestampField) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_SpansSource_Strategy{ + Value: &dashboards.Annotation_SpansSource_Strategy_Range_{ + Range: &dashboards.Annotation_SpansSource_Strategy_Range{ + StartTimestampField: startTimestampField, + EndTimestampField: endTimestampField, + }, + }, + }, nil +} + +func expandSpansSourceInstantStrategy(ctx context.Context, instant types.Object) (*dashboards.Annotation_SpansSource_Strategy, diag.Diagnostics) { + var instantObject DashboardAnnotationInstantStrategyModel + if diags := instant.As(ctx, &instantObject, basetypes.ObjectAsOptions{}); diags.HasError() { + return nil, diags + } + + timestampField, diags := expandObservationFieldObject(ctx, instantObject.TimestampField) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_SpansSource_Strategy{ + Value: &dashboards.Annotation_SpansSource_Strategy_Instant_{ + Instant: &dashboards.Annotation_SpansSource_Strategy_Instant{ + TimestampField: timestampField, + }, + }, + }, nil +} + +func expandSpansSource(ctx context.Context, spans types.Object) (*dashboards.Annotation_Source_Spans, diag.Diagnostics) { + if spans.IsNull() || spans.IsUnknown() { + return nil, nil + } + var spansObject DashboardAnnotationSpansOrLogsSourceModel + diags := spans.As(ctx, &spansObject, basetypes.ObjectAsOptions{}) + if diags.HasError() { + return nil, diags + } + + strategy, diags := expandSpansSourceStrategy(ctx, spansObject.Strategy) + if diags.HasError() { + return nil, diags + } + + labels, diags := expandObservationFields(ctx, spansObject.LabelFields) + if diags.HasError() { + return nil, diags + } + + return &dashboards.Annotation_Source_Spans{ + Spans: &dashboards.Annotation_SpansSource{ + LuceneQuery: expandLuceneQuery(spansObject.LuceneQuery), + Strategy: strategy, + MessageTemplate: typeStringToWrapperspbString(spansObject.MessageTemplate), + LabelFields: labels, + }, }, nil } @@ -5422,12 +5863,12 @@ func expandFilterSourceSpans(ctx context.Context, spans *FilterSourceSpansModel) }, nil } -func expandDashboardFolder(dashboard *dashboards.Dashboard, folder types.Object) (*dashboards.Dashboard, diag.Diagnostics) { +func expandDashboardFolder(ctx context.Context, dashboard *dashboards.Dashboard, folder types.Object) (*dashboards.Dashboard, diag.Diagnostics) { if folder.IsNull() || folder.IsUnknown() { return dashboard, nil } var folderModel DashboardFolderModel - dgs := folder.As(context.Background(), &folderModel, basetypes.ObjectAsOptions{}) + dgs := folder.As(ctx, &folderModel, basetypes.ObjectAsOptions{}) if dgs.HasError() { return nil, dgs } @@ -5555,6 +5996,7 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar TimeFrame: types.ObjectNull(dashboardTimeFrameModelAttr()), Folder: types.ObjectNull(dashboardFolderModelAttr()), Annotations: types.ListNull(types.ObjectType{AttrTypes: dashboardsAnnotationsModelAttr()}), + AutoRefresh: types.ObjectNull(dashboardAutoRefreshModelAttr()), }, nil } @@ -5589,6 +6031,11 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar return nil, diags } + autoRefresh, diags := flattenDashboardAutoRefresh(ctx, dashboard) + if diags.HasError() { + return nil, diags + } + return &DashboardResourceModel{ ID: types.StringValue(dashboard.GetId().GetValue()), Name: wrapperspbStringToTypeString(dashboard.GetName()), @@ -5599,6 +6046,7 @@ func flattenDashboard(ctx context.Context, plan DashboardResourceModel, dashboar TimeFrame: timeFrame, Folder: folder, Annotations: annotations, + AutoRefresh: autoRefresh, ContentJson: types.StringNull(), }, nil } @@ -6256,13 +6704,19 @@ func dashboardsAnnotationsModelAttr() map[string]attr.Type { func annotationSourceModelAttr() map[string]attr.Type { return map[string]attr.Type{ - "metric": types.ObjectType{ - AttrTypes: dashboardsAnnotationsMetricSourceModelAttr(), + "metrics": types.ObjectType{ + AttrTypes: annotationsMetricsSourceModelAttr(), + }, + "logs": types.ObjectType{ + AttrTypes: annotationsLogsAndSpansSourceModelAttr(), + }, + "spans": types.ObjectType{ + AttrTypes: annotationsLogsAndSpansSourceModelAttr(), }, } } -func dashboardsAnnotationsMetricSourceModelAttr() map[string]attr.Type { +func annotationsMetricsSourceModelAttr() map[string]attr.Type { return map[string]attr.Type{ "promql_query": types.StringType, "strategy": types.ObjectType{ @@ -6275,6 +6729,59 @@ func dashboardsAnnotationsMetricSourceModelAttr() map[string]attr.Type { } } +func annotationsLogsAndSpansSourceModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "lucene_query": types.StringType, + "strategy": types.ObjectType{ + AttrTypes: logsAndSpansStrategyModelAttr(), + }, + "message_template": types.StringType, + "label_fields": types.ListType{ + ElemType: observationFieldModelAttr(), + }, + } +} + +func logsAndSpansStrategyModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "instant": types.ObjectType{ + AttrTypes: instantStrategyModelAttr(), + }, + "range": types.ObjectType{ + AttrTypes: rangeStrategyModelAttr(), + }, + "duration": types.ObjectType{ + AttrTypes: durationStrategyModelAttr(), + }, + } +} + +func durationStrategyModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "start_timestamp_field": observationFieldModelAttr(), + "duration_field": observationFieldModelAttr(), + } +} + +func rangeStrategyModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "start_timestamp_field": observationFieldModelAttr(), + "end_timestamp_field": observationFieldModelAttr(), + } +} + +func instantStrategyModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "timestamp_field": observationFieldModelAttr(), + } +} + +func observationFieldModelAttr() attr.Type { + return types.ObjectType{ + AttrTypes: observationFieldAttributes(), + } +} + func metricStrategyModelAttr() map[string]attr.Type { return map[string]attr.Type{ "start_time": types.ObjectType{ @@ -6547,6 +7054,12 @@ func dashboardFolderModelAttr() map[string]attr.Type { } } +func dashboardAutoRefreshModelAttr() map[string]attr.Type { + return map[string]attr.Type{ + "type": types.StringType, + } +} + func flattenDashboardSection(ctx context.Context, section *dashboards.Section) (*SectionModel, diag.Diagnostics) { if section == nil { return nil, nil @@ -8752,25 +9265,278 @@ func flattenDashboardAnnotationSource(ctx context.Context, source *dashboards.An return types.ObjectNull(dashboardsAnnotationsModelAttr()), nil } - metricSourceObject, diags := flattenDashboardAnnotationMetricSourceModel(ctx, source.GetMetrics()) + var sourceObject DashboardAnnotationSourceModel + var diags diag.Diagnostics + switch source.Value.(type) { + case *dashboards.Annotation_Source_Metrics: + sourceObject.Metric, diags = flattenDashboardAnnotationMetricSourceModel(ctx, source.GetMetrics()) + sourceObject.Logs = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) + sourceObject.Spans = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) + case *dashboards.Annotation_Source_Logs: + sourceObject.Logs, diags = flattenDashboardAnnotationLogsSourceModel(ctx, source.GetLogs()) + sourceObject.Metric = types.ObjectNull(annotationsMetricsSourceModelAttr()) + sourceObject.Spans = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) + case *dashboards.Annotation_Source_Spans: + sourceObject.Spans, diags = flattenDashboardAnnotationSpansSourceModel(ctx, source.GetSpans()) + sourceObject.Metric = types.ObjectNull(annotationsMetricsSourceModelAttr()) + sourceObject.Logs = types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()) + default: + diags = diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Dashboard Annotation Source", fmt.Sprintf("unknown annotation source type %T", source.Value))} + } + if diags.HasError() { return types.ObjectNull(annotationSourceModelAttr()), diags } - sourceObject := &DashboardAnnotationSourceModel{ - Metric: metricSourceObject, - } return types.ObjectValueFrom(ctx, annotationSourceModelAttr(), sourceObject) } +func flattenDashboardAnnotationSpansSourceModel(ctx context.Context, spans *dashboards.Annotation_SpansSource) (types.Object, diag.Diagnostics) { + if spans == nil { + return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), nil + } + + strategy, diags := flattenAnnotationSpansStrategy(ctx, spans.GetStrategy()) + if diags.HasError() { + return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), diags + } + + labelFields, diags := flattenObservationFields(ctx, spans.GetLabelFields()) + if diags.HasError() { + return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), diags + } + + spansObject := &DashboardAnnotationSpansOrLogsSourceModel{ + LuceneQuery: wrapperspbStringToTypeString(spans.GetLuceneQuery().GetValue()), + Strategy: strategy, + MessageTemplate: wrapperspbStringToTypeString(spans.GetMessageTemplate()), + LabelFields: labelFields, + } + + return types.ObjectValueFrom(ctx, annotationsLogsAndSpansSourceModelAttr(), spansObject) +} + +func flattenAnnotationSpansStrategy(ctx context.Context, strategy *dashboards.Annotation_SpansSource_Strategy) (types.Object, diag.Diagnostics) { + if strategy == nil { + return types.ObjectNull(logsAndSpansStrategyModelAttr()), nil + } + + var strategyModel DashboardAnnotationSpanOrLogsStrategyModel + var diags diag.Diagnostics + switch strategy.Value.(type) { + case *dashboards.Annotation_SpansSource_Strategy_Instant_: + strategyModel.Instant, diags = flattenSpansStrategyInstant(ctx, strategy.GetInstant()) + strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) + strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) + case *dashboards.Annotation_SpansSource_Strategy_Range_: + strategyModel.Range, diags = flattenSpansStrategyRange(ctx, strategy.GetRange()) + strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) + strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) + case *dashboards.Annotation_SpansSource_Strategy_Duration_: + strategyModel.Duration, diags = flattenSpansStrategyDuration(ctx, strategy.GetDuration()) + strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) + strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) + default: + diags = diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Annotation Spans Strategy", fmt.Sprintf("unknown annotation spans strategy type %T", strategy.Value))} + } + + if diags.HasError() { + return types.ObjectNull(logsAndSpansStrategyModelAttr()), diags + } + + return types.ObjectValueFrom(ctx, logsAndSpansStrategyModelAttr(), strategyModel) +} + +func flattenSpansStrategyDuration(ctx context.Context, duration *dashboards.Annotation_SpansSource_Strategy_Duration) (types.Object, diag.Diagnostics) { + if duration == nil { + return types.ObjectNull(durationStrategyModelAttr()), nil + } + + startTimestampField, diags := flattenObservationField(ctx, duration.GetStartTimestampField()) + if diags.HasError() { + return types.ObjectNull(durationStrategyModelAttr()), diags + } + + endTimestampField, diags := flattenObservationField(ctx, duration.GetDurationField()) + if diags.HasError() { + return types.ObjectNull(durationStrategyModelAttr()), diags + } + + durationStrategy := &DashboardAnnotationDurationStrategyModel{ + StartTimestampField: startTimestampField, + DurationField: endTimestampField, + } + + return types.ObjectValueFrom(ctx, durationStrategyModelAttr(), durationStrategy) +} + +func flattenSpansStrategyRange(ctx context.Context, getRange *dashboards.Annotation_SpansSource_Strategy_Range) (types.Object, diag.Diagnostics) { + if getRange == nil { + return types.ObjectNull(rangeStrategyModelAttr()), nil + } + + startTimestampField, diags := flattenObservationField(ctx, getRange.GetStartTimestampField()) + if diags.HasError() { + return types.ObjectNull(rangeStrategyModelAttr()), diags + } + + endTimestampField, diags := flattenObservationField(ctx, getRange.GetEndTimestampField()) + if diags.HasError() { + return types.ObjectNull(rangeStrategyModelAttr()), diags + } + + rangeStrategy := &DashboardAnnotationRangeStrategyModel{ + StartTimestampField: startTimestampField, + EndTimestampField: endTimestampField, + } + + return types.ObjectValueFrom(ctx, rangeStrategyModelAttr(), rangeStrategy) +} + +func flattenSpansStrategyInstant(ctx context.Context, instant *dashboards.Annotation_SpansSource_Strategy_Instant) (types.Object, diag.Diagnostics) { + if instant == nil { + return types.ObjectNull(instantStrategyModelAttr()), nil + } + + timestampField, diags := flattenObservationField(ctx, instant.GetTimestampField()) + if diags.HasError() { + return types.ObjectNull(instantStrategyModelAttr()), diags + } + + instantStrategy := &DashboardAnnotationInstantStrategyModel{ + TimestampField: timestampField, + } + + return types.ObjectValueFrom(ctx, instantStrategyModelAttr(), instantStrategy) +} + +func flattenLogsStrategyDuration(ctx context.Context, duration *dashboards.Annotation_LogsSource_Strategy_Duration) (types.Object, diag.Diagnostics) { + if duration == nil { + return types.ObjectNull(durationStrategyModelAttr()), nil + } + + startTimestampField, diags := flattenObservationField(ctx, duration.GetStartTimestampField()) + if diags.HasError() { + return types.ObjectNull(durationStrategyModelAttr()), diags + } + + endTimestampField, diags := flattenObservationField(ctx, duration.GetDurationField()) + if diags.HasError() { + return types.ObjectNull(durationStrategyModelAttr()), diags + } + + durationStrategy := &DashboardAnnotationDurationStrategyModel{ + StartTimestampField: startTimestampField, + DurationField: endTimestampField, + } + + return types.ObjectValueFrom(ctx, durationStrategyModelAttr(), durationStrategy) +} + +func flattenLogsStrategyRange(ctx context.Context, getRange *dashboards.Annotation_LogsSource_Strategy_Range) (types.Object, diag.Diagnostics) { + if getRange == nil { + return types.ObjectNull(rangeStrategyModelAttr()), nil + } + + startTimestampField, diags := flattenObservationField(ctx, getRange.GetStartTimestampField()) + if diags.HasError() { + return types.ObjectNull(rangeStrategyModelAttr()), diags + } + + endTimestampField, diags := flattenObservationField(ctx, getRange.GetEndTimestampField()) + if diags.HasError() { + return types.ObjectNull(rangeStrategyModelAttr()), diags + } + + rangeStrategy := &DashboardAnnotationRangeStrategyModel{ + StartTimestampField: startTimestampField, + EndTimestampField: endTimestampField, + } + + return types.ObjectValueFrom(ctx, rangeStrategyModelAttr(), rangeStrategy) +} + +func flattenLogsStrategyInstant(ctx context.Context, instant *dashboards.Annotation_LogsSource_Strategy_Instant) (types.Object, diag.Diagnostics) { + if instant == nil { + return types.ObjectNull(instantStrategyModelAttr()), nil + } + + timestampField, diags := flattenObservationField(ctx, instant.GetTimestampField()) + if diags.HasError() { + return types.ObjectNull(instantStrategyModelAttr()), diags + } + + instantStrategy := &DashboardAnnotationInstantStrategyModel{ + TimestampField: timestampField, + } + + return types.ObjectValueFrom(ctx, instantStrategyModelAttr(), instantStrategy) +} + +func flattenDashboardAnnotationLogsSourceModel(ctx context.Context, logs *dashboards.Annotation_LogsSource) (types.Object, diag.Diagnostics) { + if logs == nil { + return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), nil + } + + strategy, diags := flattenAnnotationLogsStrategy(ctx, logs.GetStrategy()) + if diags.HasError() { + return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), diags + } + + labelFields, diags := flattenObservationFields(ctx, logs.GetLabelFields()) + if diags.HasError() { + return types.ObjectNull(annotationsLogsAndSpansSourceModelAttr()), diags + } + + logsObject := &DashboardAnnotationSpansOrLogsSourceModel{ + LuceneQuery: wrapperspbStringToTypeString(logs.GetLuceneQuery().GetValue()), + Strategy: strategy, + MessageTemplate: wrapperspbStringToTypeString(logs.GetMessageTemplate()), + LabelFields: labelFields, + } + + return types.ObjectValueFrom(ctx, annotationsLogsAndSpansSourceModelAttr(), logsObject) +} + +func flattenAnnotationLogsStrategy(ctx context.Context, strategy *dashboards.Annotation_LogsSource_Strategy) (types.Object, diag.Diagnostics) { + if strategy == nil { + return types.ObjectNull(logsAndSpansStrategyModelAttr()), nil + } + + var strategyModel DashboardAnnotationSpanOrLogsStrategyModel + var diags diag.Diagnostics + switch strategy.Value.(type) { + case *dashboards.Annotation_LogsSource_Strategy_Instant_: + strategyModel.Instant, diags = flattenLogsStrategyInstant(ctx, strategy.GetInstant()) + strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) + strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) + case *dashboards.Annotation_LogsSource_Strategy_Range_: + strategyModel.Range, diags = flattenLogsStrategyRange(ctx, strategy.GetRange()) + strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) + strategyModel.Duration = types.ObjectNull(durationStrategyModelAttr()) + case *dashboards.Annotation_LogsSource_Strategy_Duration_: + strategyModel.Duration, diags = flattenLogsStrategyDuration(ctx, strategy.GetDuration()) + strategyModel.Instant = types.ObjectNull(instantStrategyModelAttr()) + strategyModel.Range = types.ObjectNull(rangeStrategyModelAttr()) + default: + diags = diag.Diagnostics{diag.NewErrorDiagnostic("Error Flatten Annotation Logs Strategy", fmt.Sprintf("unknown annotation logs strategy type %T", strategy.Value))} + } + + if diags.HasError() { + return types.ObjectNull(logsAndSpansStrategyModelAttr()), diags + } + + return types.ObjectValueFrom(ctx, logsAndSpansStrategyModelAttr(), strategyModel) +} + func flattenDashboardAnnotationMetricSourceModel(ctx context.Context, metricSource *dashboards.Annotation_MetricsSource) (types.Object, diag.Diagnostics) { if metricSource == nil { - return types.ObjectNull(dashboardsAnnotationsMetricSourceModelAttr()), nil + return types.ObjectNull(annotationsMetricsSourceModelAttr()), nil } strategy, diags := flattenDashboardAnnotationStrategy(ctx, metricSource.GetStrategy()) if diags.HasError() { - return types.ObjectNull(dashboardsAnnotationsMetricSourceModelAttr()), diags + return types.ObjectNull(annotationsMetricsSourceModelAttr()), diags } metricSourceObject := &DashboardAnnotationMetricSourceModel{ @@ -8780,7 +9546,7 @@ func flattenDashboardAnnotationMetricSourceModel(ctx context.Context, metricSour Labels: wrappedStringSliceToTypeStringList(metricSource.GetLabels()), } - return types.ObjectValueFrom(ctx, dashboardsAnnotationsMetricSourceModelAttr(), metricSourceObject) + return types.ObjectValueFrom(ctx, annotationsMetricsSourceModelAttr(), metricSourceObject) } func flattenDashboardAnnotationStrategy(ctx context.Context, strategy *dashboards.Annotation_MetricsSource_Strategy) (types.Object, diag.Diagnostics) { @@ -8837,10 +9603,22 @@ func flattenDuration(timeFrame *durationpb.Duration) basetypes.StringValue { return types.StringValue(timeFrame.String()) } -func relativeTimeFrameAttributes() map[string]attr.Type { - return map[string]attr.Type{ - "duration": types.StringType, +func flattenDashboardAutoRefresh(ctx context.Context, dashboard *dashboards.Dashboard) (types.Object, diag.Diagnostics) { + autoRefresh := dashboard.GetAutoRefresh() + if autoRefresh == nil { + return types.ObjectNull(dashboardAutoRefreshModelAttr()), nil + } + + var refreshType DashboardAutoRefreshModel + switch autoRefresh.(type) { + case *dashboards.Dashboard_Off: + refreshType.Type = types.StringValue("off") + case *dashboards.Dashboard_FiveMinutes: + refreshType.Type = types.StringValue("five_minutes") + case *dashboards.Dashboard_TwoMinutes: + refreshType.Type = types.StringValue("two_minutes") } + return types.ObjectValueFrom(ctx, dashboardAutoRefreshModelAttr(), &refreshType) } func (r *DashboardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { @@ -8962,7 +9740,7 @@ func (r *DashboardResource) Delete(ctx context.Context, req resource.DeleteReque log.Printf("[INFO] Dashboard %s deleted", id) } -func (r *DashboardResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse) { +func (r *DashboardResource) Configure(_ context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse) { if req.ProviderData == nil { return } diff --git a/docs/data-sources/dashboard.md b/docs/data-sources/dashboard.md index 05a1eed4..947cc350 100644 --- a/docs/data-sources/dashboard.md +++ b/docs/data-sources/dashboard.md @@ -22,6 +22,7 @@ description: |- ### Read-Only - `annotations` (Attributes List) (see [below for nested schema](#nestedatt--annotations)) +- `auto_refresh` (Attributes) (see [below for nested schema](#nestedatt--auto_refresh)) - `content_json` (String) an option to set the dashboard content from a json file. - `description` (String) Brief description or summary of the dashboard's purpose or content. - `filters` (Attributes List) List of filters that can be applied to the dashboard's data. (see [below for nested schema](#nestedatt--filters)) @@ -46,31 +47,243 @@ Read-Only: Read-Only: -- `metric` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric)) +- `logs` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs)) +- `metrics` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metrics)) +- `spans` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans)) - -### Nested Schema for `annotations.source.metric` + +### Nested Schema for `annotations.source.logs` + +Read-Only: + +- `label_fields` (Attributes List) (see [below for nested schema](#nestedatt--annotations--source--logs--label_fields)) +- `lucene_query` (String) +- `message_template` (String) +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy)) + + +### Nested Schema for `annotations.source.logs.strategy` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.logs.strategy` + +Read-Only: + +- `duration` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--duration)) +- `instant` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--instant)) +- `range` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--range)) + + +### Nested Schema for `annotations.source.logs.strategy.duration` + +Read-Only: + +- `duration_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--duration--duration_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--duration--start_timestamp_field)) + + +### Nested Schema for `annotations.source.logs.strategy.duration.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.logs.strategy.duration.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.logs.strategy.instant` + +Read-Only: + +- `timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--instant--timestamp_field)) + + +### Nested Schema for `annotations.source.logs.strategy.instant.timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.logs.strategy.range` + +Read-Only: + +- `end_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--range--end_timestamp_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy--range--start_timestamp_field)) + + +### Nested Schema for `annotations.source.logs.strategy.range.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.logs.strategy.range.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + + + + +### Nested Schema for `annotations.source.metrics` Read-Only: - `labels` (List of String) - `message_template` (String) - `promql_query` (String) -- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--strategy)) +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metrics--strategy)) + + +### Nested Schema for `annotations.source.metrics.strategy` + +Read-Only: + +- `start_time` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metrics--strategy--start_time)) - -### Nested Schema for `annotations.source.metric.strategy` + +### Nested Schema for `annotations.source.metrics.strategy.start_time` + + + + + +### Nested Schema for `annotations.source.spans` Read-Only: -- `start_time` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--strategy--start_time)) +- `label_fields` (Attributes List) (see [below for nested schema](#nestedatt--annotations--source--spans--label_fields)) +- `lucene_query` (String) +- `message_template` (String) +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy)) + + +### Nested Schema for `annotations.source.spans.strategy` - -### Nested Schema for `annotations.source.metric.strategy.start_time` +Read-Only: +- `keypath` (List of String) +- `scope` (String) + +### Nested Schema for `annotations.source.spans.strategy` +Read-Only: + +- `duration` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--duration)) +- `instant` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--instant)) +- `range` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--range)) + + +### Nested Schema for `annotations.source.spans.strategy.duration` + +Read-Only: + +- `duration_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--duration--duration_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--duration--start_timestamp_field)) + + +### Nested Schema for `annotations.source.spans.strategy.duration.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.spans.strategy.duration.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.spans.strategy.instant` + +Read-Only: + +- `timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--instant--timestamp_field)) + + +### Nested Schema for `annotations.source.spans.strategy.instant.timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.spans.strategy.range` + +Read-Only: + +- `end_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--range--end_timestamp_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy--range--start_timestamp_field)) + + +### Nested Schema for `annotations.source.spans.strategy.range.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.spans.strategy.range.start_timestamp_field` + +Read-Only: + +- `keypath` (List of String) +- `scope` (String) + + + + + + + + +### Nested Schema for `auto_refresh` + +Read-Only: + +- `type` (String) @@ -205,7 +418,7 @@ Read-Only: Read-Only: -- `definition` (Attributes) The widget definition. Can contain one of `line_chart`, `bar_chart`, `pie_chart` `data_table` or `gauge`. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition)) +- `definition` (Attributes) The widget definition. Can contain one of 'line_chart', 'data_table', 'gauge', 'pie_chart', 'bar_chart', 'horizontal_bar_chart', 'markdown'. (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition)) - `description` (String) Widget description. - `id` (String) - `title` (String) Widget title. Required for all widgets except markdown. @@ -231,14 +444,14 @@ Read-Only: - `color_scheme` (String) The color scheme. Can be one of classic, severity, cold, negative, green, red, blue. - `colors_by` (String) -- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"]. +- `data_mode_type` (String) - `group_name_template` (String) - `max_bars_per_chart` (Number) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--query)) - `scale_type` (String) -- `sort_by` (String) The field to sort by. Can be one of unspecified, value, name. +- `sort_by` (String) The field to sort by. Can be one of name, unspecified, value. - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of bytes, mbytes, kibytes, mibytes, bytes_iec, gibytes, unspecified, microseconds, milliseconds, seconds, kbytes, gbytes. +- `unit` (String) The unit of the chart. Can be one of gbytes, bytes_iec, mibytes, unspecified, microseconds, milliseconds, mbytes, kibytes, gibytes, seconds, bytes, kbytes. - `xaxis` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--xaxis)) @@ -472,8 +685,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -562,7 +775,7 @@ Read-Only: Read-Only: - `columns` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--columns)) -- `data_mode_type` (String) +- `data_mode_type` (String) The data mode type. Can be one of ["unspecified" "archive"]. - `order_by` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--order_by)) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--query)) - `results_per_page` (Number) The number of results to display per page. @@ -864,8 +1077,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -894,9 +1107,9 @@ Read-Only: - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--query)) - `show_inner_arc` (Boolean) - `show_outer_arc` (Boolean) -- `threshold_by` (String) The threshold by. Can be one of ["unspecified" "value" "background"]. +- `threshold_by` (String) The threshold by. Can be one of ["value" "background" "unspecified"]. - `thresholds` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--thresholds)) -- `unit` (String) The unit of the gauge. Can be one of ["usd_cents" "none" "milliseconds" "bytes" "kbytes" "euro" "usd" "percent" "microseconds" "seconds" "mbytes" "kibytes" "mibytes" "gibytes" "gbytes" "bytes_iec" "euro_cents"]. +- `unit` (String) The unit of the gauge. Can be one of ["kbytes" "gibytes" "none" "percent" "bytes_iec" "euro_cents" "euro" "usd_cents" "bytes" "gbytes" "kibytes" "usd" "seconds" "mbytes" "mibytes" "microseconds" "milliseconds"]. ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.unit` @@ -1064,7 +1277,7 @@ Read-Only: Read-Only: -- `aggregation` (String) The type of aggregation. Can be one of ["unspecified" "last" "min" "max" "avg" "sum"]. +- `aggregation` (String) The type of aggregation. Can be one of ["min" "max" "avg" "sum" "unspecified" "last"]. - `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--unit--spans--filters)) - `promql_query` (String) @@ -1129,8 +1342,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1161,7 +1374,7 @@ Read-Only: - `scale_type` (String) - `sort_by` (String) - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of bytes, mbytes, kibytes, mibytes, bytes_iec, gibytes, unspecified, microseconds, milliseconds, seconds, kbytes, gbytes. +- `unit` (String) The unit of the chart. Can be one of gbytes, bytes_iec, mibytes, unspecified, microseconds, milliseconds, mbytes, kibytes, gibytes, seconds, bytes, kbytes. - `y_axis_view_by` (String) @@ -1299,8 +1512,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1375,7 +1588,7 @@ Read-Only: Read-Only: -- `columns` (List of String) The columns to display in the legend. Valid values are: sum, avg, last, unspecified, min, max. +- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, unspecified, min, max, sum. - `group_by_query` (Boolean) - `is_visible` (Boolean) Whether to display the legend. False by default. @@ -1392,10 +1605,10 @@ Read-Only: - `name` (String) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--tooltip--query)) - `resolution` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--widgets--definition--pie_chart--tooltip--resolution)) -- `scale_type` (String) The scale type. Valid values are: unspecified, linear, logarithmic. +- `scale_type` (String) The scale type. Valid values are: logarithmic, unspecified, linear. - `series_count_limit` (Number) - `series_name_template` (String) -- `unit` (String) The unit. Valid values are: bytes, mbytes, kibytes, mibytes, bytes_iec, gibytes, unspecified, microseconds, milliseconds, seconds, kbytes, gbytes. +- `unit` (String) The unit. Valid values are: gbytes, bytes_iec, mibytes, unspecified, microseconds, milliseconds, mbytes, kibytes, gibytes, seconds, bytes, kbytes. ### Nested Schema for `layout.sections.rows.widgets.definition.pie_chart.tooltip.unit` @@ -1508,8 +1721,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1602,7 +1815,7 @@ Read-Only: Read-Only: - `is_visible` (Boolean) -- `label_source` (String) The source of the label. Valid values are: unspecified, inner, stack +- `label_source` (String) The source of the label. Valid values are: stack, unspecified, inner - `show_name` (Boolean) - `show_percentage` (Boolean) - `show_value` (Boolean) @@ -1839,8 +2052,8 @@ Read-Only: Read-Only: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] diff --git a/docs/resources/dashboard.md b/docs/resources/dashboard.md index 9fbf065f..c43d335a 100644 --- a/docs/resources/dashboard.md +++ b/docs/resources/dashboard.md @@ -585,7 +585,7 @@ resource "coralogix_dashboard" dashboard { { name = "test_annotation" source = { - metric = { + metrics = { promql_query = "vector(1)" strategy = { start_time = {} @@ -596,18 +596,16 @@ resource "coralogix_dashboard" dashboard { } }, ] + auto_refresh = { + type = "two_minutes" + } folder = { id = coralogix_dashboards_folder.example.id } } ``` -or from file -```hcl -resource "coralogix_dashboard" dashboard_from_json { - content_json = file("./dashboard.json") -} -``` + ## Schema @@ -615,6 +613,7 @@ resource "coralogix_dashboard" dashboard_from_json { ### Optional - `annotations` (Attributes List) (see [below for nested schema](#nestedatt--annotations)) +- `auto_refresh` (Attributes) (see [below for nested schema](#nestedatt--auto_refresh)) - `content_json` (String) an option to set the dashboard content from a json file. - `description` (String) Brief description or summary of the dashboard's purpose or content. - `filters` (Attributes List) List of filters that can be applied to the dashboard's data. (see [below for nested schema](#nestedatt--filters)) @@ -644,16 +643,122 @@ Optional: ### Nested Schema for `annotations.source` +Optional: + +- `logs` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs)) +- `metrics` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metrics)) +- `spans` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans)) + + +### Nested Schema for `annotations.source.logs` + Required: -- `metric` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric)) +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--strategy)) - -### Nested Schema for `annotations.source.metric` +Optional: + +- `label_fields` (Attributes List) (see [below for nested schema](#nestedatt--annotations--source--logs--label_fields)) +- `lucene_query` (String) +- `message_template` (String) + + +### Nested Schema for `annotations.source.logs.message_template` + +Optional: + +- `duration` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--duration)) +- `instant` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--instant)) +- `range` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--range)) + + +### Nested Schema for `annotations.source.logs.message_template.duration` Required: -- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--strategy)) +- `duration_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--duration--duration_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--duration--start_timestamp_field)) + + +### Nested Schema for `annotations.source.logs.message_template.duration.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.logs.message_template.duration.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.logs.message_template.instant` + +Required: + +- `timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--instant--timestamp_field)) + + +### Nested Schema for `annotations.source.logs.message_template.instant.timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.logs.message_template.range` + +Required: + +- `end_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--range--end_timestamp_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--logs--message_template--range--start_timestamp_field)) + + +### Nested Schema for `annotations.source.logs.message_template.range.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.logs.message_template.range.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + + + +### Nested Schema for `annotations.source.logs.message_template` + +Optional: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.metrics` + +Required: + +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metrics--strategy)) Optional: @@ -661,19 +766,131 @@ Optional: - `message_template` (String) - `promql_query` (String) - -### Nested Schema for `annotations.source.metric.promql_query` + +### Nested Schema for `annotations.source.metrics.promql_query` Required: -- `start_time` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metric--promql_query--start_time)) +- `start_time` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--metrics--promql_query--start_time)) - -### Nested Schema for `annotations.source.metric.promql_query.start_time` + +### Nested Schema for `annotations.source.metrics.promql_query.start_time` + +### Nested Schema for `annotations.source.spans` + +Required: + +- `strategy` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--strategy)) + +Optional: + +- `label_fields` (Attributes List) (see [below for nested schema](#nestedatt--annotations--source--spans--label_fields)) +- `lucene_query` (String) +- `message_template` (String) + + +### Nested Schema for `annotations.source.spans.message_template` + +Optional: + +- `duration` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--duration)) +- `instant` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--instant)) +- `range` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--range)) + + +### Nested Schema for `annotations.source.spans.message_template.duration` + +Required: + +- `duration_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--duration--duration_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--duration--start_timestamp_field)) + + +### Nested Schema for `annotations.source.spans.message_template.duration.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.spans.message_template.duration.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.spans.message_template.instant` + +Required: + +- `timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--instant--timestamp_field)) + + +### Nested Schema for `annotations.source.spans.message_template.instant.timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + + +### Nested Schema for `annotations.source.spans.message_template.range` + +Required: + +- `end_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--range--end_timestamp_field)) +- `start_timestamp_field` (Attributes) (see [below for nested schema](#nestedatt--annotations--source--spans--message_template--range--start_timestamp_field)) + + +### Nested Schema for `annotations.source.spans.message_template.range.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + +### Nested Schema for `annotations.source.spans.message_template.range.start_timestamp_field` + +Required: + +- `keypath` (List of String) +- `scope` (String) + + + + + +### Nested Schema for `annotations.source.spans.message_template` + +Optional: + +- `keypath` (List of String) +- `scope` (String) + + + + + + +### Nested Schema for `auto_refresh` + +Optional: + +- `type` (String) @@ -832,7 +1049,7 @@ Read-Only: Required: -- `definition` (Attributes) The widget definition. Can contain one of `line_chart`, `bar_chart`, `pie_chart` `data_table` or `gauge`. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition)) +- `definition` (Attributes) The widget definition. Can contain one of 'line_chart', 'data_table', 'gauge', 'pie_chart', 'bar_chart', 'horizontal_bar_chart', 'markdown'. (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition)) Optional: @@ -869,9 +1086,9 @@ Optional: - `max_bars_per_chart` (Number) - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--query)) - `scale_type` (String) -- `sort_by` (String) The field to sort by. Can be one of unspecified, value, name. +- `sort_by` (String) The field to sort by. Can be one of name, unspecified, value. - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of milliseconds, mbytes, bytes_iec, kibytes, kbytes, gbytes, mibytes, gibytes, unspecified, microseconds, seconds, bytes. +- `unit` (String) The unit of the chart. Can be one of gbytes, bytes_iec, mibytes, unspecified, microseconds, milliseconds, mbytes, kibytes, gibytes, seconds, bytes, kbytes. - `xaxis` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--xaxis)) @@ -1139,7 +1356,7 @@ Optional: Required: - `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1235,7 +1452,7 @@ Required: - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--query)) - `results_per_page` (Number) The number of results to display per page. -- `row_style` (String) The style of the rows. Can be one of ["condensed" "json" "one_line" "two_line"]. +- `row_style` (String) The style of the rows. Can be one of ["one_line" "two_line" "condensed" "json"]. Optional: @@ -1561,7 +1778,7 @@ Read-Only: Required: - `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1606,7 +1823,7 @@ Optional: Required: - `query` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--query)) -- `unit` (String) The unit of the gauge. Can be one of ["milliseconds" "bytes" "kibytes" "euro_cents" "usd_cents" "usd" "seconds" "mbytes" "gibytes" "euro" "gbytes" "mibytes" "none" "percent" "microseconds" "kbytes" "bytes_iec"]. +- `unit` (String) The unit of the gauge. Can be one of ["kbytes" "gibytes" "none" "percent" "bytes_iec" "euro_cents" "euro" "usd_cents" "bytes" "gbytes" "kibytes" "usd" "seconds" "mbytes" "mibytes" "microseconds" "milliseconds"]. Optional: @@ -1615,7 +1832,7 @@ Optional: - `min` (Number) - `show_inner_arc` (Boolean) - `show_outer_arc` (Boolean) -- `threshold_by` (String) The threshold by. Can be one of ["unspecified" "value" "background"]. +- `threshold_by` (String) The threshold by. Can be one of ["value" "background" "unspecified"]. - `thresholds` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--thresholds)) @@ -1812,7 +2029,7 @@ Required: Optional: -- `aggregation` (String) The type of aggregation. Can be one of ["unspecified" "last" "min" "max" "avg" "sum"]. +- `aggregation` (String) The type of aggregation. Can be one of ["min" "max" "avg" "sum" "unspecified" "last"]. - `filters` (Attributes List) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--thresholds--spans--filters)) @@ -1886,7 +2103,7 @@ Optional: Required: - `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -1917,7 +2134,7 @@ Optional: - `scale_type` (String) - `sort_by` (String) - `stack_definition` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--stack_definition)) -- `unit` (String) The unit of the chart. Can be one of milliseconds, mbytes, bytes_iec, kibytes, kbytes, gbytes, mibytes, gibytes, unspecified, microseconds, seconds, bytes. +- `unit` (String) The unit of the chart. Can be one of gbytes, bytes_iec, mibytes, unspecified, microseconds, milliseconds, mbytes, kibytes, gibytes, seconds, bytes, kbytes. - `y_axis_view_by` (String) @@ -2074,7 +2291,7 @@ Optional: Required: - `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2164,10 +2381,10 @@ Optional: - `is_visible` (Boolean) - `name` (String) - `resolution` (Attributes) (see [below for nested schema](#nestedatt--layout--sections--rows--id--definition--pie_chart--tooltip--resolution)) -- `scale_type` (String) The scale type. Valid values are: unspecified, linear, logarithmic. +- `scale_type` (String) The scale type. Valid values are: logarithmic, unspecified, linear. - `series_count_limit` (Number) - `series_name_template` (String) -- `unit` (String) The unit. Valid values are: milliseconds, mbytes, bytes_iec, kibytes, kbytes, gbytes, mibytes, gibytes, unspecified, microseconds, seconds, bytes. +- `unit` (String) The unit. Valid values are: gbytes, bytes_iec, mibytes, unspecified, microseconds, milliseconds, mbytes, kibytes, gibytes, seconds, bytes, kbytes. Read-Only: @@ -2303,7 +2520,7 @@ Optional: Required: - `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2363,7 +2580,7 @@ Optional: Optional: -- `columns` (List of String) The columns to display in the legend. Valid values are: sum, avg, last, unspecified, min, max. +- `columns` (List of String) The columns to display in the legend. Valid values are: avg, last, unspecified, min, max, sum. - `group_by_query` (Boolean) - `is_visible` (Boolean) Whether to display the legend. False by default. @@ -2412,7 +2629,7 @@ Optional: Optional: - `is_visible` (Boolean) -- `label_source` (String) The source of the label. Valid values are: unspecified, inner, stack +- `label_source` (String) The source of the label. Valid values are: stack, unspecified, inner - `show_name` (Boolean) - `show_percentage` (Boolean) - `show_value` (Boolean) @@ -2682,8 +2899,8 @@ Optional: Required: -- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50" "unspecified"]. When the aggregation type is `dimension`, can be one of ["error_count" "unspecified" "unique_count"]. -- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["unspecified" "duration"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. +- `aggregation_type` (String) The type of the aggregation. When the aggregation type is `metrics`, can be one of ["unspecified" "min" "max" "avg" "sum" "percentile_99" "percentile_95" "percentile_50"]. When the aggregation type is `dimension`, can be one of ["unspecified" "unique_count" "error_count"]. +- `field` (String) The field to aggregate on. When the aggregation type is `metrics`, can be one of ["duration" "unspecified"]. When the aggregation type is `dimension`, can be one of ["unspecified" "trace_id"]. - `type` (String) Can be one of ["metric" "dimension"] @@ -2836,13 +3053,3 @@ Required: - `type` (String) The type of the field. Can be one of ["metadata" "tag" "process_tag"] - `value` (String) The value of the field. When the field type is `metadata`, can be one of ["unspecified" "application_name" "subsystem_name" "service_name" "operation_name"] - -### Import - -Dashboards folders can be imported using the `id`, e.g. - -```shell -$ terraform import coralogix_dashboard.example -``` - -the folder's id can be found in the prefix of the dashboard's url, e.g. `https://terraform.app.eu2.coralogix.com/#/dashboards/mqjmnWQNYwPLxjhYffetD` where `mqjmnWQNYwPLxjhYffetD` is the folder's id. \ No newline at end of file diff --git a/examples/dashboard/main.tf b/examples/dashboard/main.tf index d0dbf4e5..13c8e239 100644 --- a/examples/dashboard/main.tf +++ b/examples/dashboard/main.tf @@ -587,7 +587,7 @@ resource "coralogix_dashboard" dashboard { { name = "test_annotation" source = { - metric = { + metrics = { promql_query = "vector(1)" strategy = { start_time = {} @@ -598,6 +598,9 @@ resource "coralogix_dashboard" dashboard { } }, ] + auto_refresh = { + type = "two_minutes" + } folder = { id = coralogix_dashboards_folder.example.id } diff --git a/go.mod b/go.mod index 2f8a96af..c909d86c 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1 golang.org/x/exp v0.0.0-20231219180239-dc181d75b848 google.golang.org/grpc v1.60.0 - google.golang.org/protobuf v1.31.0 + google.golang.org/protobuf v1.33.0 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index aae29985..6da9d79f 100644 --- a/go.sum +++ b/go.sum @@ -348,8 +348,8 @@ google.golang.org/grpc v1.60.0 h1:6FQAR0kM31P6MRdeluor2w2gPaS4SVNrD/DNTxrQ15k= google.golang.org/grpc v1.60.0/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=