diff --git a/labs/automatic-instrumentation/auto-instrumentation/solution/.gitignore b/labs/automatic-instrumentation/auto-instrumentation/solution/.gitignore new file mode 100644 index 0000000..227a53b --- /dev/null +++ b/labs/automatic-instrumentation/auto-instrumentation/solution/.gitignore @@ -0,0 +1,37 @@ +HELP.md +**target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ +*.jar + +__pycache__ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ +opentelemetry-javaagent.jar diff --git a/labs/automatic-instrumentation/auto-instrumentation/solution/todobackend-springboot/src/main/java/io/novatec/todobackend/TodobackendApplication.java b/labs/automatic-instrumentation/auto-instrumentation/solution/todobackend-springboot/src/main/java/io/novatec/todobackend/TodobackendApplication.java index b058c45..8c5ec73 100644 --- a/labs/automatic-instrumentation/auto-instrumentation/solution/todobackend-springboot/src/main/java/io/novatec/todobackend/TodobackendApplication.java +++ b/labs/automatic-instrumentation/auto-instrumentation/solution/todobackend-springboot/src/main/java/io/novatec/todobackend/TodobackendApplication.java @@ -60,8 +60,6 @@ String fail() { @GetMapping("/todos/") List getTodos(){ - logger.info(cfInstance); - List todos = new ArrayList(); todoRepository.findAll().forEach(todo -> todos.add(todo.getTodo())); diff --git a/labs/otel-in-action/todobackend-springboot/.gitignore b/labs/otel-in-action/todobackend-springboot/.gitignore new file mode 100644 index 0000000..227a53b --- /dev/null +++ b/labs/otel-in-action/todobackend-springboot/.gitignore @@ -0,0 +1,37 @@ +HELP.md +**target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ +*.jar + +__pycache__ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ +opentelemetry-javaagent.jar