Skip to content

Commit f2d1640

Browse files
author
github automation
committed
1 parent fe800aa commit f2d1640

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

content/en/docs/snclient/checks/plugins/check_nsc_web.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Description:
5454
and receiving check information over HTTP(S).
5555
5656
Version:
57-
check_nsc_web v0.7.2
57+
check_nsc_web v0.7.3
5858
5959
Example:
6060
connectivity check (parent service):

content/en/docs/snclient/prometheus/exporter.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ on [github](https://github.com/QubitProducts/exporter_exporter#configuration).
4040

4141
A simple http exporter module file could look like:
4242

43-
exporter_modules/http.yaml:
43+
exporter_modules/name.yaml:
4444

4545
```yml
4646
method: http
@@ -49,6 +49,22 @@ http:
4949
path: '/metrics'
5050
```
5151
52+
Using the default ports, you can test the exporter above with the command:
53+
54+
```sh
55+
%> curl 'https://hostname:8443/proxy?module=name'
56+
```
57+
58+
## Endpoints
59+
60+
The exporter provides the following endpoints:
61+
62+
- `/proxy`: used to query the exported exporter. Accepts these parameters:
63+
- `module`: use `?module=name` parameter to specify the exporter.
64+
- `args`: arguments for exec exporters.
65+
- other arguments are passed through to http exporters.
66+
- `/list`: list available exporter.
67+
5268
## Incompatibilities
5369

5470
### No Verification
@@ -62,3 +78,7 @@ and not checked if it contains valid prometheus metrics.
6278
Since this exporter exporter (optionally) shares the web server with the rest of
6379
the SNClient, the `/` url path is in use already. The available exporter
6480
modules can therefore be requested with the `/list` path.
81+
82+
### No separate /metrics endpoint
83+
84+
The embedded exporter exporter has no separate /metrics endpoint.

0 commit comments

Comments
 (0)