mirror of https://github.com/docker/docs.git
Metrics exporter - add /metrics suffix
This commit is contained in:
parent
c2b9ea32ac
commit
8840381e16
|
|
@ -56,7 +56,7 @@ replace `ORG` with your organization name:
|
||||||
```yaml
|
```yaml
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
- job_name: <ORG>
|
- job_name: <ORG>
|
||||||
metrics_path: /v1/exporter/org/<ORG>
|
metrics_path: /v1/exporter/org/<ORG>/metrics
|
||||||
scheme: https
|
scheme: https
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
|
|
@ -122,7 +122,7 @@ alongside Grafana with a pre-configured dashboard to visualize the vulnerability
|
||||||
scrape_timeout: 40s
|
scrape_timeout: 40s
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
- job_name: Docker Scout policy
|
- job_name: Docker Scout policy
|
||||||
metrics_path: /v1/exporter/org/<ORG>
|
metrics_path: /v1/exporter/org/<ORG>/metrics
|
||||||
scheme: https
|
scheme: https
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
|
|
@ -198,7 +198,7 @@ The following example shows a Datadog configuration that:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
instances:
|
instances:
|
||||||
- openmetrics_endpoint: "https://api.scout.docker.com/v1/exporter/org/dockerscoutpolicy"
|
- openmetrics_endpoint: "https://api.scout.docker.com/v1/exporter/org/dockerscoutpolicy/metrics"
|
||||||
namespace: "scout-metrics-exporter"
|
namespace: "scout-metrics-exporter"
|
||||||
metrics:
|
metrics:
|
||||||
- scout_*
|
- scout_*
|
||||||
|
|
@ -276,7 +276,7 @@ and a Datadog site.
|
||||||
|
|
||||||
```yaml {hl_lines=2}
|
```yaml {hl_lines=2}
|
||||||
instances:
|
instances:
|
||||||
- openmetrics_endpoint: "https://api.scout.docker.com/v1/exporter/org/<<ORG>>"
|
- openmetrics_endpoint: "https://api.scout.docker.com/v1/exporter/org/<<ORG>>/metrics"
|
||||||
namespace: "scout-metrics-exporter"
|
namespace: "scout-metrics-exporter"
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue