Skip to content

Commit f00dedb

Browse files
committed
deduplicate admin /_expvar and metrics /_expvar
fixup text
1 parent dcccaf5 commit f00dedb

File tree

4 files changed

+4
-32
lines changed

4 files changed

+4
-32
lines changed

docs/api/admin.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ paths:
132132
'/{keyspace}/':
133133
$ref: './paths/admin/keyspace-.yaml'
134134
/_expvar:
135-
$ref: ./paths/admin/_expvar.yaml
135+
# use the same path as for metrics
136+
$ref: ./paths/metric/_expvar.yaml
136137
/:
137138
$ref: ./paths/admin/-.yaml
138139
/_ping:

docs/api/paths/admin/_expvar.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/api/paths/metric/_expvar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ get:
2626
Successfully returned statistics.
2727
For details, see [JSON Metrics](stats-monitoring-json.html).
2828
content:
29-
application/javascript:
29+
application/json:
3030
schema:
3131
$ref: ../../components/schemas.yaml#/ExpVars
3232
operationId: get__expvar

docs/api/paths/metric/metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# software will be governed by the Apache License, Version 2.0, included in
77
# the file licenses/APL2.txt.
88
get:
9-
summary: Debugging/monitoring runtime stats in Prometheus Exposition format
9+
summary: Get debugging and monitoring runtime stats in Prometheus Exposition format
1010
description: |-
1111
Returns Sync Gateway statistics and other runtime variables in Prometheus Exposition format.
1212

0 commit comments

Comments
 (0)