We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66b6a0 commit b070b33Copy full SHA for b070b33
spring-cloud/tracing/customer-service/src/main/java/com/example/demo/Controller.java
@@ -27,9 +27,7 @@ public ResponseEntity<Customer> getCustomer(@PathVariable("id") long customerId)
27
customer.setId(customerId);
28
customer.setName(NAMES.get((int) customerId));
29
30
- throw new IllegalStateException("BWAAAH!");
31
-
32
-// return new ResponseEntity<>(customer, HttpStatus.OK);
+ return new ResponseEntity<>(customer, HttpStatus.OK);
33
}
34
35
@GetMapping(path = "addresses/{id}")
spring-cloud/tracing/docker-compose.yml
@@ -12,7 +12,7 @@ services:
12
build: ./customer-service/
13
image: customer-service:latest
14
ports:
15
- - "8081:8081"
+ - "8081"
16
17
collector:
18
image: logzio/otel-collector-traces
0 commit comments