This commit is contained in:
@@ -13,19 +13,26 @@
|
||||
| `http.client.timeout` | 단계별 시간 초과 |
|
||||
| `http.client.request.bytes` | 요청 wire 바이트 |
|
||||
| `http.client.response.bytes` | 응답 바이트 |
|
||||
| `http.client.active` | 진행 중인 시도 |
|
||||
| `http.client.pool.connections` | 빌려 간 connection과 남은 connection |
|
||||
| `http.client.pool.pending` | pool 대기자 |
|
||||
| `http.client.pool.acquire.duration` | pool 대기 시간 |
|
||||
| `http.client.dns.duration` | DNS 시간 |
|
||||
| `http.client.connect.duration` | 연결 시간 |
|
||||
| `http.client.tls.duration` | TLS 시간 |
|
||||
| `http.client.circuit.state` | circuit 상태 |
|
||||
| `http.client.circuit.state` | circuit 상태(1 = open) |
|
||||
| `http.client.circuit.state.rejected` | circuit이 열려 거부한 호출 |
|
||||
| `http.client.bulkhead.rejected` | bulkhead 거부 |
|
||||
| `http.client.rate_limit.rejected` | 로컬 속도 제한 거부 |
|
||||
| `http.client.oauth.refresh` | token 갱신 결과 |
|
||||
| `http.client.ratelimit.rejected` | 로컬 속도 제한 거부 |
|
||||
| `http.client.ssrf.rejected` | dynamic target 거부 |
|
||||
|
||||
이름은 정했지만 아직 아무 코드도 내지 않는 metric이다(`HttpClientObservationNames` 상수, `DeclaredMetricsAreEmittedTest`의
|
||||
「아직 안 냄」 목록). 대시보드·경보에 쓰지 않는다. `docs/registries/metrics.yaml`에도 행이 없다.
|
||||
|
||||
| Metric | 내려면 필요한 것 |
|
||||
|---|---|
|
||||
| `http.client.active` | 논리 호출 observation 수명에 묶인 진행 중 gauge |
|
||||
| `http.client.pool.acquire.duration` | engine마다 요청 단계 시간 |
|
||||
| `http.client.dns.duration` | engine마다 요청 단계 시간 |
|
||||
| `http.client.connect.duration` | engine마다 요청 단계 시간 |
|
||||
| `http.client.tls.duration` | engine마다 요청 단계 시간 |
|
||||
| `http.client.oauth.refresh` | token loader가 `MeterRegistry`를 받는 것 |
|
||||
|
||||
`http.client.requests`는 시도를 세고 `http.client.logical.calls`는 사용자 호출을 센다. 둘이 벌어지면 재시도가
|
||||
실패를 흡수하고 있다는 뜻이다. 장애 때 가장 먼저 볼 곳이다.
|
||||
|
||||
@@ -35,8 +42,8 @@
|
||||
|---|---|---|
|
||||
| 논리 호출은 괜찮은데 시도가 치솟는다 | upstream이 나빠졌고 재시도가 흡수하고 있다 | 이유별 `http.client.retry.count` |
|
||||
| `http.client.ambiguous`가 0이 아니다 | 멱등이 아닌 쓰기가 `SENT_NO_RESPONSE`에 닿는다 | upstream과 맞춰 본다. 멱등 key를 검토한다 |
|
||||
| pool 대기가 오른다 | pool이 작거나 upstream이 느리다 | `http.client.pool.acquire.duration`, `pool.connections` |
|
||||
| circuit이 열렸다 | 계속된 upstream 실패: transport 오류, 5xx, 408, 429 | `http.client.circuit.state`. 로컬 거부와 그 밖의 4xx는 circuit을 열지 않는다 |
|
||||
| pool 대기가 오른다 | pool이 작거나 upstream이 느리다 | `http.client.pool.pending`, `pool.connections` |
|
||||
| circuit이 열렸다 | 계속된 upstream 실패: transport 오류, 5xx, 408, 429 | `http.client.circuit.state`, `http.client.circuit.state.rejected`. 로컬 거부와 그 밖의 4xx는 circuit을 열지 않는다 |
|
||||
| `http.client.ssrf.rejected`가 0이 아니다 | 호출자가 내부 URL을 넣고 있다 | Dynamic Target 정책과 감사 기록 |
|
||||
|
||||
## Actuator
|
||||
|
||||
Reference in New Issue
Block a user