Home
last modified time | relevance | path

Searched refs:traceServiceClient (Results 1 – 25 of 26) sorted by relevance

12

/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerExportTest.java42 private TraceServiceClient traceServiceClient; field in StackdriverV2ExporterHandlerExportTest
52 traceServiceClient = TraceServiceClient.create(traceServiceStub); in setUp()
55 PROJECT_ID, traceServiceClient, Collections.<String, AttributeValue>emptyMap()); in setUp()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/opencensus-proto/gen-go/agent/trace/v1/
Dtrace_service_grpc.pb.go29 type traceServiceClient struct { struct
34 return &traceServiceClient{cc}
37 func (c *traceServiceClient) Config(ctx context.Context, opts ...grpc.CallOption) (TraceService_Con… argument
68 func (c *traceServiceClient) Export(ctx context.Context, opts ...grpc.CallOption) (TraceService_Exp… argument
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v1/traceservice/listtraces/
DSyncListTracesString.java35 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncListTracesString() argument
37 for (Trace element : traceServiceClient.listTraces(projectId).iterateAll()) { in syncListTracesString()
DSyncListTraces.java37 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncListTraces() argument
48 for (Trace element : traceServiceClient.listTraces(request).iterateAll()) { in syncListTraces()
DAsyncListTraces.java38 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in asyncListTraces() argument
49 ApiFuture<Trace> future = traceServiceClient.listTracesPagedCallable().futureCall(request); in asyncListTraces()
DAsyncListTracesPaged.java39 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in asyncListTracesPaged() argument
51 ListTracesResponse response = traceServiceClient.listTracesCallable().call(request); in asyncListTracesPaged()
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v1/traceservice/gettrace/
DSyncGetTraceStringString.java35 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncGetTraceStringString() argument
38 Trace response = traceServiceClient.getTrace(projectId, traceId); in syncGetTraceStringString()
DSyncGetTrace.java36 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncGetTrace() argument
42 Trace response = traceServiceClient.getTrace(request); in syncGetTrace()
DAsyncGetTrace.java37 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in asyncGetTrace() argument
43 ApiFuture<Trace> future = traceServiceClient.getTraceCallable().futureCall(request); in asyncGetTrace()
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v1/traceservice/patchtraces/
DSyncPatchTracesStringTraces.java36 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncPatchTracesStringTraces() argument
39 traceServiceClient.patchTraces(projectId, traces); in syncPatchTracesStringTraces()
DSyncPatchTraces.java37 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncPatchTraces() argument
43 traceServiceClient.patchTraces(request); in syncPatchTraces()
DAsyncPatchTraces.java38 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in asyncPatchTraces() argument
44 ApiFuture<Empty> future = traceServiceClient.patchTracesCallable().futureCall(request); in asyncPatchTraces()
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v2/traceservice/batchwritespans/
DSyncBatchWriteSpansStringListspan.java39 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncBatchWriteSpansStringListspan() argument
42 traceServiceClient.batchWriteSpans(name, spans); in syncBatchWriteSpansStringListspan()
DSyncBatchWriteSpansProjectnameListspan.java39 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncBatchWriteSpansProjectnameListspan() argument
42 traceServiceClient.batchWriteSpans(name, spans); in syncBatchWriteSpansProjectnameListspan()
DSyncBatchWriteSpans.java39 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncBatchWriteSpans() argument
45 traceServiceClient.batchWriteSpans(request); in syncBatchWriteSpans()
DAsyncBatchWriteSpans.java40 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in asyncBatchWriteSpans() argument
46 ApiFuture<Empty> future = traceServiceClient.batchWriteSpansCallable().futureCall(request); in asyncBatchWriteSpans()
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v2/traceservice/createspan/
DSyncCreateSpan.java42 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in syncCreateSpan() argument
59 Span response = traceServiceClient.createSpan(request); in syncCreateSpan()
DAsyncCreateSpan.java43 try (TraceServiceClient traceServiceClient = TraceServiceClient.create()) { in asyncCreateSpan() argument
60 ApiFuture<Span> future = traceServiceClient.createSpanCallable().futureCall(request); in asyncCreateSpan()
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java146 private final TraceServiceClient traceServiceClient; field in StackdriverV2ExporterHandler
151 TraceServiceClient traceServiceClient, in StackdriverV2ExporterHandler() argument
154 this.traceServiceClient = traceServiceClient; in StackdriverV2ExporterHandler()
167 TraceServiceClient traceServiceClient, in createWithStub() argument
169 return new StackdriverV2ExporterHandler(projectId, traceServiceClient, fixedAttributes); in createWithStub()
444 traceServiceClient.batchWriteSpans(projectName, spans); in export()
/external/grpc-grpc-java/gcp-observability/src/test/java/io/grpc/gcp/observability/
DTracesTest.java126 TraceServiceClient traceServiceClient = TraceServiceClient.create(); in run() local
141 ListTracesPagedResponse traceResponse = traceServiceClient.listTraces(traceRequest); in run()
152 Trace trace = traceServiceClient.getTrace(getTraceRequest); in run()
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v2/traceservice/create/
DSyncCreateSetCredentialsProvider1.java36 TraceServiceClient traceServiceClient = TraceServiceClient.create(traceServiceSettings); in syncCreateSetCredentialsProvider1() local
DSyncCreateSetEndpoint.java38 TraceServiceClient traceServiceClient = TraceServiceClient.create(traceServiceSettings); in syncCreateSetEndpoint() local
DSyncCreateSetCredentialsProvider.java41 TraceServiceClient traceServiceClient = TraceServiceClient.create(traceServiceSettings); in syncCreateSetCredentialsProvider() local
/external/google-cloud-java/java-trace/samples/snippets/generated/com/google/cloud/trace/v1/traceservice/create/
DSyncCreateSetCredentialsProvider1.java36 TraceServiceClient traceServiceClient = TraceServiceClient.create(traceServiceSettings); in syncCreateSetCredentialsProvider1() local
DSyncCreateSetEndpoint.java38 TraceServiceClient traceServiceClient = TraceServiceClient.create(traceServiceSettings); in syncCreateSetEndpoint() local

12