Skip to content

Commit

Permalink
[feat] 서버 스레드
Browse files Browse the repository at this point in the history
  • Loading branch information
JinDDung2 committed Dec 14, 2024
1 parent 7a51835 commit 8570525
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class WebConfig implements WebMvcConfigurer {
private final String[] EXCLUDE_PATH = {
"/favicon.ico",
"/error",
"/threads",
"/api/v1/users/sign-up",
"/api/v1/users/login",
"/api/v1/mails/send-certification",
Expand Down
18 changes: 18 additions & 0 deletions src/main/resources/templates/threads.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>서버 스레드 정보</title>
</head>
<body>
<h1>서버 스레드 정보</h1>
<pre>
<div th:each="entry : ${threads}">
<p>
<strong>스레드 이름:</strong> <span th:text="${entry.key}"></span><br>
<strong>스택 트레이스:</strong><br>
<span th:text="${entry.value}"></span>
</p>
</div>
</pre>
</body>
</html>

0 comments on commit 8570525

Please sign in to comment.