xref: /aosp_15_r20/external/googleapis/google/devtools/cloudtrace/v2/cloudtrace_v2.yaml (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1type: google.api.Service
2config_version: 3
3name: cloudtrace.googleapis.com
4title: Stackdriver Trace API
5
6apis:
7- name: google.devtools.cloudtrace.v2.TraceService
8
9documentation:
10  summary: |-
11    Sends application trace data to Stackdriver Trace for viewing. Trace data
12    is collected for all App Engine applications by default. Trace data from
13    other applications can be provided using this API. This library is used to
14    interact with the Trace API directly. If you are looking to instrument
15    your application for Stackdriver Trace, we recommend using OpenTelemetry.
16
17backend:
18  rules:
19  - selector: google.devtools.cloudtrace.v2.TraceService.BatchWriteSpans
20    deadline: 60.0
21  - selector: google.devtools.cloudtrace.v2.TraceService.CreateSpan
22    deadline: 60.0
23
24authentication:
25  rules:
26  - selector: google.devtools.cloudtrace.v2.TraceService.BatchWriteSpans
27    oauth:
28      canonical_scopes: |-
29        https://www.googleapis.com/auth/cloud-platform,
30        https://www.googleapis.com/auth/trace.append
31  - selector: google.devtools.cloudtrace.v2.TraceService.CreateSpan
32    oauth:
33      canonical_scopes: |-
34        https://www.googleapis.com/auth/cloud-platform,
35        https://www.googleapis.com/auth/trace.append
36