Skip to content

Commit 0ec5e51

Browse files
committed
add api docs
1 parent 2e41703 commit 0ec5e51

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/api/admin.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ paths:
9797
$ref: ./paths/admin/_debug-pprof-trace.yaml
9898
/_debug/fgprof:
9999
$ref: ./paths/admin/_debug-fgprof.yaml
100+
/_debug/stacktrace:
101+
$ref: ./paths/admin/_debug-stack_trace.yaml
100102
/_post_upgrade:
101103
$ref: ./paths/admin/_post_upgrade.yaml
102104
'/{db}/_config':
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright 2025-Present Couchbase, Inc.
2+
#
3+
# Use of this software is governed by the Business Source License included
4+
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
5+
# in that file, in accordance with the Business Source License, use of this
6+
# software will be governed by the Apache License, Version 2.0, included in
7+
# the file licenses/APL2.txt.
8+
get:
9+
summary: Get stack trace for all goroutines
10+
description: |-
11+
Returns stack traces of all running goroutines in Sync Gateway.
12+
13+
Required Sync Gateway RBAC roles:
14+
15+
* Sync Gateway Dev Ops
16+
responses:
17+
'200':
18+
description: OK
19+
content:
20+
application/json:
21+
schema:
22+
type: string
23+
tags:
24+
- Profiling

0 commit comments

Comments
 (0)