Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b3cb8b9

Browse files
chore: testing
1 parent 36204f1 commit b3cb8b9

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

‎src/main/java/spp/demo/Main.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ public static void triggerTailLogs() {
6262
}
6363

6464
public static void triggerEndpoints() {
65-
// //function duration insight
66-
// callEndpoint("/insight/slow-function");
67-
// callEndpoint("/insight/fast-function");
65+
//function duration insight
66+
callEndpoint("/insight/slow-function");
67+
callEndpoint("/insight/fast-function");
68+
69+
//view activity command
70+
callEndpoint("/command/view-activity");
6871

69-
// //view activity command
70-
// callEndpoint("/command/view-activity");
71-
//
7272
//view traces command
7373
callEndpoint("/command/view-traces");
7474

‎src/main/java/spp/demo/command/ViewTraces.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public class ViewTraces {
2828
*/
2929
@Get("/view-traces")
3030
public HttpResponse<Void> entryEndpoint() throws Exception {
31-
try (HttpClient client = HttpClient.create(new URL("http://localhost:8080"))) {
32-
client.toBlocking().retrieve("/command/view-traces/exit");
33-
}
31+
// try (HttpClient client = HttpClient.create(new URL("http://localhost:8080"))) {
32+
// client.toBlocking().retrieve("/command/view-traces/exit");
33+
// }
3434
return HttpResponse.ok();
3535
}
3636

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /