]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/jaeger-client-cpp/idl/thrift/dependency.thrift
buildsys: switch source download to quincy
[ceph.git] / ceph / src / jaegertracing / jaeger-client-cpp / idl / thrift / dependency.thrift
1 # Copyright (c) 2017 Uber Technologies, Inc.
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
15 namespace cpp jaegertracing.thrift
16 namespace java io.jaegertracing.thriftjava
17 namespace php Jaeger.Thrift.Agent
18 namespace netcore Jaeger.Thrift.Agent
19
20 struct DependencyLink {
21 // parent service name (caller)
22 1: required string parent
23 // child service name (callee)
24 2: required string child
25 // calls made during the duration of this link
26 4: required i64 callCount
27 }
28
29 // An aggregate representation of services paired with every service they call.
30 struct Dependencies {
31 1: required list<DependencyLink> links
32 }
33
34 service Dependency {
35 Dependencies getDependenciesForTrace(1: required string traceId)
36 oneway void saveDependencies(1: Dependencies dependencies)
37 }