Spring Cloud Tracing Demo Fixes (#188)
* Spring Cloud Tracing Demo Fixes * Update docker-compose.yml
This commit is contained in:
@@ -27,9 +27,7 @@ public class Controller {
|
||||
customer.setId(customerId);
|
||||
customer.setName(NAMES.get((int) customerId));
|
||||
|
||||
throw new IllegalStateException("BWAAAH!");
|
||||
|
||||
// return new ResponseEntity<>(customer, HttpStatus.OK);
|
||||
return new ResponseEntity<>(customer, HttpStatus.OK);
|
||||
}
|
||||
|
||||
@GetMapping(path = "addresses/{id}")
|
||||
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
build: ./customer-service/
|
||||
image: customer-service:latest
|
||||
ports:
|
||||
- "8081:8081"
|
||||
- "8081"
|
||||
|
||||
collector:
|
||||
image: logzio/otel-collector-traces
|
||||
|
||||
Reference in New Issue
Block a user