Commit b949eec
committed
Document rationale for gateway client observation metric name
Explains on DefaultGatewayObservationConvention#getName() why the
metric is prefixed with 'spring.cloud.gateway.' so a future reader
does not revert the rename without understanding the Prometheus
collision it avoids.
See gh-3153
Signed-off-by: JOOYOUNG JUNG <143606756+LivingLikeKrillin@users.noreply.github.com>1 parent 1d9174a commit b949eec
1 file changed
Lines changed: 9 additions & 0 deletions
File tree
- spring-cloud-gateway-server-webflux/src/main/java/org/springframework/cloud/gateway/filter/headers/observation
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
| |||
0 commit comments