Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / monitoring / v3 / span_context.proto
1 // Copyright 2018 Google LLC.
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
16 syntax = "proto3";
17
18 package google.monitoring.v3;
19
20 option csharp_namespace = "Google.Cloud.Monitoring.V3";
21 option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring";
22 option java_multiple_files = true;
23 option java_outer_classname = "SpanContextProto";
24 option java_package = "com.google.monitoring.v3";
25 option php_namespace = "Google\\Cloud\\Monitoring\\V3";
26
27 // The context of a span, attached to google.api.Distribution.Exemplars
28 // in google.api.Distribution values during aggregation.
29 //
30 // It contains the name of a span with format:
31 //     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
32 message SpanContext {
33   // The resource name of the span in the following format:
34   //
35   //     projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
36   //
37   // [TRACE_ID] is a unique identifier for a trace within a project;
38   // it is a 32-character hexadecimal encoding of a 16-byte array.
39   //
40   // [SPAN_ID] is a unique identifier for a span within a trace; it
41   // is a 16-character hexadecimal encoding of an 8-byte array.
42   string span_name = 1;
43 }