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.setId(customerId);
|
||||||
customer.setName(NAMES.get((int) 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}")
|
@GetMapping(path = "addresses/{id}")
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
build: ./customer-service/
|
build: ./customer-service/
|
||||||
image: customer-service:latest
|
image: customer-service:latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8081"
|
- "8081"
|
||||||
|
|
||||||
collector:
|
collector:
|
||||||
image: logzio/otel-collector-traces
|
image: logzio/otel-collector-traces
|
||||||
|
|||||||
Reference in New Issue
Block a user