Spring Cloud Tracing Demo Fixes (#188)

* Spring Cloud Tracing Demo Fixes

* Update docker-compose.yml
This commit is contained in:
dzkaiten
2022-07-14 13:37:56 -07:00
committed by GitHub
parent a66b6a0aaa
commit b070b3376b
2 changed files with 2 additions and 4 deletions

View File

@@ -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}")

View File

@@ -12,7 +12,7 @@ services:
build: ./customer-service/
image: customer-service:latest
ports:
- "8081:8081"
- "8081"
collector:
image: logzio/otel-collector-traces