]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/jaeger-client-cpp/idl/thrift/dependency.thrift
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / jaeger-client-cpp / idl / thrift / dependency.thrift
CommitLineData
f67539c2
TL
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
15namespace cpp jaegertracing.thrift
16namespace java io.jaegertracing.thriftjava
17namespace php Jaeger.Thrift.Agent
18namespace netcore Jaeger.Thrift.Agent
19
20struct 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.
30struct Dependencies {
31 1: required list<DependencyLink> links
32}
33
34service Dependency {
35 Dependencies getDependenciesForTrace(1: required string traceId)
36 oneway void saveDependencies(1: Dependencies dependencies)
37}