exporter/collector/integrationtest/protos/fixtures.proto (40 lines of code) (raw):
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
package fixtures;
option go_package = "github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/integrationtest/protos";
import "metric_service.proto";
import "logging_service.proto";
import "tracing_service.proto";
message MetricExpectFixture {
repeated google.monitoring.v3.CreateTimeSeriesRequest create_time_series_requests = 1;
repeated google.monitoring.v3.CreateMetricDescriptorRequest create_metric_descriptor_requests = 2;
repeated google.monitoring.v3.CreateTimeSeriesRequest create_service_time_series_requests = 3;
SelfObservabilityMetric self_observability_metrics = 4;
string user_agent = 5;
}
message SelfObservabilityMetric {
repeated google.monitoring.v3.CreateTimeSeriesRequest create_time_series_requests = 1;
repeated google.monitoring.v3.CreateMetricDescriptorRequest create_metric_descriptor_requests = 2;
}
message LogExpectFixture {
repeated google.logging.v2.WriteLogEntriesRequest write_log_entries_requests = 1;
string user_agent = 2;
SelfObservabilityMetric self_observability_metrics = 3;
}
message TraceExpectFixture {
repeated google.tracing.v2.BatchWriteSpansRequest batch_write_spans_request = 1;
string user_agent = 2;
SelfObservabilityMetric self_observability_metrics = 3;
}