googleapis / googleapis/google-cloud-java

[sdk-platform-java] [o11y] Investigate 500 error reported when client points to non-existent host

オープン
#12,669 コメント 0 件 リアクション 0 件 担当者 1 名 @jinseopkim0 が担当を希望しています GitHub で見る
priority: p3 type: bug
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

**HTTP Client failures case name and attributes conform to requirements**

* **Manual test:** We try to hit a non-existent host.

```java
TranslationServiceSettings.Builder settingsBuilder = TranslationServiceSettings.newBuilder();

settingsBuilder
.getStubSettingsBuilder()
.setEndpoint("non-existent:1234")
.setTracerFactory(createOpenTelemetryTracerFactory());
```

* **HTTP**
* Image

* Confirmed this 500 (`UnknwonException`) is part of unwrapping the exception (see [related code](https://github.com/googleapis/google-cloud-java/blob/59441275c916aa4698463c116de6f80558f46534/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/tracing/ErrorTypeUtil.java#L204-L212)). The actual code may not be desired but it respects the logic, so if a fix is wanted it should be done in gax-httpjson

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。