/aosp_15_r20/external/grpc-grpc-java/examples/example-gcp-observability/ |
H A D | README.md | 1 gRPC GCP Observability Example 4 The GCP Observability example consists of a Hello World client and a Hello World server instrumente… 6 __Please refer to Microservices Observability user guide for setup.__ 10 Build the Observability client & server. From the `grpc-java/examples/example-gcp-observability` 16 This creates the scripts `build/install/example-gcp-observability/bin/gcp-observability-client` and 17 `build/install/example-gcp-observability/bin/gcp-observability-server`. 21 To use Observability, you should first setup and configure authorization as mentioned in the user g… 23 …ERVABILITY_CONFIG_FILE` environment variable to point to the gRPC GCP Observability configuration … 24 is not set then `GRPC_GCP_OBSERVABILITY_CONFIG` environment variable to gRPC GCP Observability conf… 25 `build/install/example-gcp-observability/bin/gcp-observability-client` and [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/ext/ |
D | gcp_observability.h | 30 // of gRPC Observability data exporting to GCP. `GcpObservability::Init()` 32 // Observability data is flushed at regular intervals, and also when this 36 // Initialize GCP Observability for gRPC. 39 // The return value helps determine whether observability was 40 // successfully enabled or not. On success, an object of class `Observability` 41 // is returned. When this object goes out of scope, GCP Observability stats, 44 // either crash on failure, or continue without GCP observability being 47 // a non-OK status code meaning that observability initialization failed. 59 // GCP Observability tries to flush all observability data collected till that 62 // Note that this is a blocking call which properly sets up gRPC Observability [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/include/grpcpp/ext/ |
D | gcp_observability.h | 30 // of gRPC Observability data exporting to GCP. `GcpObservability::Init()` 32 // Observability data is flushed at regular intervals, and also when this 36 // Initialize GCP Observability for gRPC. 39 // The return value helps determine whether observability was 40 // successfully enabled or not. On success, an object of class `Observability` 41 // is returned. When this object goes out of scope, GCP Observability stats, 44 // either crash on failure, or continue without GCP observability being 47 // a non-OK status code meaning that observability initialization failed. 59 // GCP Observability tries to flush all observability data collected till that 62 // Note that this is a blocking call which properly sets up gRPC Observability [all …]
|
/aosp_15_r20/external/grpc-grpc/include/grpcpp/ext/ |
H A D | gcp_observability.h | 29 // of gRPC Observability data exporting to GCP. `GcpObservability::Init()` 31 // Observability data is flushed at regular intervals, and also when this 35 // Initialize GCP Observability for gRPC. 38 // The return value helps determine whether observability was 39 // successfully enabled or not. On success, an object of class `Observability` 40 // is returned. When this object goes out of scope, GCP Observability stats, 43 // either crash on failure, or continue without GCP observability being 46 // a non-OK status code meaning that observability initialization failed. 58 // GCP Observability tries to flush all observability data collected till that 61 // Note that this is a blocking call which properly sets up gRPC Observability [all …]
|
/aosp_15_r20/external/grpc-grpc/examples/cpp/gcp_observability/helloworld/ |
H A D | README.md | 1 # gRPC C++ GCP Observability Hello World Example 4 instrumented with GCP Observability for logs, metrics and tracing. Note that 7 Please refer to GCP's [Microservices Observability user guide][] for setup 11 [Microservices Observability user guide]: https://cloud.google.com/stackdriver/docs/solutions/grpc 15 To use Observability, you should first setup and configure authorization as 16 mentioned in the Microservices Observability user guide. 19 point to the gRPC GCP Observability configuration file (preferred) or 21 GCP Observability configuration value. This is needed by both client and server. 25 To start the observability-enabled example server on its default port of 50051, 34 In a different terminal window, run the observability-enabled example client:
|
H A D | greeter_server.cc | 97 // out observability data; in main() 99 // Turn on GCP Observability for the whole binary. Based on the configuration, in main() 100 // this will emit observability data (stats, tracing and logging) to GCP in main() 102 auto observability = grpc::GcpObservability::Init(); in main() local 103 if (!observability.ok()) { in main() 105 << observability.status().ToString() << std::endl; in main() 106 return static_cast<int>(observability.status().code()); in main() 108 std::cout << "Initialized GCP Observability" << std::endl; in main() 110 // 'observability' object going out of scope will flush observability data. in main() 111 std::cout << "Closing and flushing GCP Observability data" << std::endl; in main()
|
H A D | greeter_client.cc | 88 // Turn on GCP Observability for the whole binary. Based on the configuration, in main() 89 // this will emit observability data (stats, tracing and logging) to GCP in main() 91 auto observability = grpc::GcpObservability::Init(); in main() local 92 if (!observability.ok()) { in main() 94 << observability.status().ToString() << std::endl; in main() 95 return static_cast<int>(observability.status().code()); in main() 97 std::cout << "Initialized GCP Observability" << std::endl; in main() 105 // 'observability' object going out of scope will flush observability data. in main() 106 std::cout << "Closing and flushing GCP Observability data" << std::endl; in main()
|
/aosp_15_r20/external/grpc-grpc-java/gcp-observability/src/main/java/io/grpc/gcp/observability/ |
H A D | GcpObservability.java | 17 package io.grpc.gcp.observability; 31 import io.grpc.gcp.observability.interceptors.ConditionalClientInterceptor; 32 import io.grpc.gcp.observability.interceptors.ConfigFilterHelper; 33 import io.grpc.gcp.observability.interceptors.InternalLoggingChannelInterceptor; 34 import io.grpc.gcp.observability.interceptors.InternalLoggingServerInterceptor; 35 import io.grpc.gcp.observability.interceptors.LogHelper; 36 import io.grpc.gcp.observability.logging.GcpLogSink; 37 import io.grpc.gcp.observability.logging.Sink; 38 import io.grpc.gcp.observability.logging.TraceLoggingHelper; 65 /** The main class for gRPC Google Cloud Platform Observability features. */ [all …]
|
/aosp_15_r20/external/grpc-grpc-java/gcp-observability/src/test/java/io/grpc/gcp/observability/ |
H A D | GcpObservabilityTest.java | 17 package io.grpc.gcp.observability; 40 import io.grpc.gcp.observability.interceptors.ConditionalClientInterceptor; 41 import io.grpc.gcp.observability.interceptors.InternalLoggingChannelInterceptor; 42 import io.grpc.gcp.observability.interceptors.InternalLoggingServerInterceptor; 43 import io.grpc.gcp.observability.logging.Sink; 60 + "io\\.grpc\\.gcp\\.observability\\.[^.]+|" 61 + "io\\.grpc\\.gcp\\.observability\\.interceptors\\.[^.]+|" 62 + "io\\.grpc\\.gcp\\.observability\\.GcpObservabilityTest\\$.*")); 153 GcpObservability observability = in run() local 159 assertThat(observability1).isSameInstanceAs(observability); in run() [all …]
|
H A D | LoggingTest.java | 17 package io.grpc.gcp.observability; 34 import io.grpc.gcp.observability.interceptors.ConfigFilterHelper; 35 import io.grpc.gcp.observability.interceptors.ConfigFilterHelper.FilterParams; 36 import io.grpc.gcp.observability.interceptors.InternalLoggingChannelInterceptor; 37 import io.grpc.gcp.observability.interceptors.InternalLoggingServerInterceptor; 38 import io.grpc.gcp.observability.interceptors.LogHelper; 39 import io.grpc.gcp.observability.logging.GcpLogSink; 40 import io.grpc.gcp.observability.logging.Sink; 41 import io.grpc.gcp.observability.logging.TraceLoggingHelper; 217 try (GcpObservability observability = in run() argument
|
H A D | MetricsTest.java | 17 package io.grpc.gcp.observability; 34 import io.grpc.gcp.observability.interceptors.InternalLoggingChannelInterceptor; 35 import io.grpc.gcp.observability.interceptors.InternalLoggingServerInterceptor; 36 import io.grpc.gcp.observability.logging.GcpLogSink; 37 import io.grpc.gcp.observability.logging.Sink; 103 GcpObservability observability = in run() local 106 observability.registerStackDriverExporter(PROJECT_ID, CUSTOM_TAGS); in run() 153 observability.close(); in run()
|
H A D | TracesTest.java | 17 package io.grpc.gcp.observability; 34 import io.grpc.gcp.observability.interceptors.InternalLoggingChannelInterceptor; 35 import io.grpc.gcp.observability.interceptors.InternalLoggingServerInterceptor; 36 import io.grpc.gcp.observability.logging.GcpLogSink; 37 import io.grpc.gcp.observability.logging.Sink; 106 GcpObservability observability = in run() local 109 observability.registerStackDriverExporter(PROJECT_ID, CUSTOM_TAGS); in run() 159 observability.close(); in run()
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_observability/ |
H A D | README.rst | 1 gRPC Python Observability 4 Package for gRPC Python Observability. 8 How gRPC Python Observability Works 27 Currently gRPC Python Observability is **only available for Linux**. 34 $ pip install grpcio-observability 61 gRPC Python Observability Depends on the following packages: 72 … `Python example folder <https://github.com/grpc/grpc/tree/master/examples/python/observability>`_. 74 We also provide several environment variables to help you optimize gRPC python observability for yo…
|
/aosp_15_r20/external/aws-sdk-java-v2/services/apprunner/src/main/resources/codegen-resources/ |
H A D | service-2.json | 74 …observability configuration resource. App Runner requires this resource when you create or update … 165 …"documentation":"<p>Delete an App Runner observability configuration resource. You can delete a sp… 257 …"documentation":"<p>Return a full description of an App Runner observability configuration resourc… 360 …"documentation":"<p>Returns a list of active App Runner observability configurations in your Amazo… 1035 …observability configuration. When you use it for the first time in an Amazon Web Services Region, … 1039 …"documentation":"<p>The configuration of the tracing feature within this observability configurati… 1043 …tation":"<p>A list of metadata items that you can associate with your observability configuration … 1053 …"documentation":"<p>A description of the App Runner observability configuration that's created by … 1098 "documentation":"<p>The observability configuration of your service.</p>" 1288 …Name (ARN) of the App Runner observability configuration that you want to delete.</p> <p>The ARN c… [all …]
|
/aosp_15_r20/external/opencensus-java/contrib/observability_ready_util/ |
H A D | README.md | 1 # OpenCensus Observability Ready Util for Java 6 The *OpenCensus Observability Ready Util for Java* allows users to use OpenCensus easily. 22 <artifactId>opencensus-contrib-observability-ready-util</artifactId> 30 compile 'io.opencensus:opencensus-contrib-observability-ready-util:0.25.0' 36 import io.opencensus.contrib.observability.ready.util.BasicSetup; 52 observability that they’ve collected using OpenCensus to the OpenCensus Agent.
|
/aosp_15_r20/external/grpc-grpc-java/examples/example-gcp-observability/src/main/java/io/grpc/examples/gcpobservability/ |
H A D | GcpObservabilityServer.java | 25 import io.grpc.gcp.observability.GcpObservability; 32 * Observability server that manages startup/shutdown of a {@code Greeter} server and generates 65 // Initialize observability in main() 66 GcpObservability observability = GcpObservability.grpcInit(); in main() local 79 // Shut down observability in main() 80 observability.close(); in main()
|
H A D | GcpObservabilityClient.java | 27 import io.grpc.gcp.observability.GcpObservability; 33 * A simple observability client that requests a greeting from the {@link HelloWorldServer} and 81 // Initialize observability in main() 82 try (GcpObservability observability = GcpObservability.grpcInit()) { in main() argument 91 } // observability.close() called implicitly in main()
|
/aosp_15_r20/external/grpc-grpc/test/cpp/interop/ |
H A D | xds_interop_server.cc | 44 "Whether to enable CSM Observability"); 57 auto observability = grpc::CsmObservabilityBuilder() in EnableCsmObservability() local 60 assert(observability.ok()); in EnableCsmObservability() 61 return *std::move(observability); in EnableCsmObservability() 84 grpc::CsmObservability observability; in main() local 86 observability = EnableCsmObservability(); in main()
|
/aosp_15_r20/external/grpc-grpc-java/ |
H A D | settings.gradle | 60 include ":grpc-gcp-observability" 61 include ":grpc-gcp-observability:interop" 91 project(':grpc-gcp-observability').projectDir = "$rootDir/gcp-observability" as File 92 project(':grpc-gcp-observability:interop').projectDir = "$rootDir/gcp-observability/interop" as File
|
/aosp_15_r20/external/grpc-grpc-java/buildscripts/observability-test/ |
H A D | Dockerfile | 25 RUN ./gradlew :grpc-gcp-observability:interop:installDist -PskipCodegen=true -PskipAndroid=true 39 COPY --from=build /grpc-java/gcp-observability/interop/build/install/interop/. . 41 WORKDIR /grpc-java/buildscripts/observability-test 42 COPY --from=build /grpc-java/buildscripts/observability-test/run.sh . 51 ENTRYPOINT ["/grpc-java/buildscripts/observability-test/run.sh"]
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_observability/grpc_observability/ |
H A D | _observability_config.py | 14 """Helper to read observability config.""" 60 """Reads the GCP observability config from the environment variables. 63 The GCP observability config. 74 # set it in the GCP observability config. 106 """Get the contents of the observability config from environment variable or file.
|
/aosp_15_r20/external/grpc-grpc-java/gcp-observability/interop/ |
H A D | build.gradle | 7 description = "gRPC: Google Cloud Platform Observability Interop" 11 project(':grpc-gcp-observability') 17 mainClass = 'io.grpc.gcp.observability.interop.TestServiceInterop' 21 applicationName = 'gcp-observability-interop'
|
/aosp_15_r20/external/grpc-grpc/src/python/grpcio_tests/tests/observability/ |
H A D | _open_telemetry_observability_test.py | 39 from tests.observability import _test_server 113 "Observability is not supported in Windows and MacOS", 165 "gPRC Python observability was already initialized", str(exp) 181 "gPRC Python observability was already initialized", 197 "gPRC Python observability was already initialized", str(exp) 212 "gPRC Python observability was already initialized",
|
/aosp_15_r20/external/grpc-grpc/examples/python/observability/ |
H A D | README.md | 1 gRPC Observability Example 4 The examples here demonstrate how to setup gRPC Python Observability with Opentelemetry. 6 More details about how to use gRPC Python Observability APIs can be found in [OpenTelemetry Metrics… 13 cd examples/python/observability
|
/aosp_15_r20/external/grpc-grpc/examples/cpp/csm/ |
H A D | csm_greeter_client.cc | 179 // Setup the observability in main() 180 auto observability = InitializeObservability(); in main() local 181 if (!observability.ok()) { in main() 183 << observability.status().ToString() << std::endl; in main() 184 return static_cast<int>(observability.status().code()); in main()
|