1 // Copyright 2018 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.monitoring.v3;
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";
27 // The context of a span, attached to google.api.Distribution.Exemplars
28 // in google.api.Distribution values during aggregation.
30 // It contains the name of a span with format:
31 // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
33 // The resource name of the span in the following format:
35 // projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
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.
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.