]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/third_party/opentelemetry-proto/opentelemetry/proto/collector/logs/v1/logs_service.proto
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / opentelemetry-proto / opentelemetry / proto / collector / logs / v1 / logs_service.proto
CommitLineData
1e59de90
TL
1// Copyright 2020, OpenTelemetry Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package opentelemetry.proto.collector.logs.v1;
18
19import "opentelemetry/proto/logs/v1/logs.proto";
20
21option java_multiple_files = true;
22option java_package = "io.opentelemetry.proto.collector.logs.v1";
23option java_outer_classname = "LogsServiceProto";
24option go_package = "go.opentelemetry.io/proto/otlp/collector/logs/v1";
25
26// Service that can be used to push logs between one Application instrumented with
27// OpenTelemetry and an collector, or between an collector and a central collector (in this
28// case logs are sent/received to/from multiple Applications).
29service LogsService {
30 // For performance reasons, it is recommended to keep this RPC
31 // alive for the entire life of the application.
32 rpc Export(ExportLogsServiceRequest) returns (ExportLogsServiceResponse) {}
33}
34
35message ExportLogsServiceRequest {
36 // An array of ResourceLogs.
37 // For data coming from a single resource this array will typically contain one
38 // element. Intermediary nodes (such as OpenTelemetry Collector) that receive
39 // data from multiple origins typically batch the data before forwarding further and
40 // in that case this array will contain multiple elements.
41 repeated opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
42}
43
44message ExportLogsServiceResponse {
45}