mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(docs): fix bearer_token reference in metrics docs
This commit is contained in:
parent
75ec3934af
commit
405b1c5ffc
@ -73,8 +73,7 @@ trilium_notes_total 1234 1701432000
|
|||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:8080']
|
- targets: ['localhost:8080']
|
||||||
metrics_path: '/etapi/metrics'
|
metrics_path: '/etapi/metrics'
|
||||||
headers:
|
bearer_token: 'YOUR_ETAPI_TOKEN'
|
||||||
Authorization: 'YOUR_ETAPI_TOKEN'
|
|
||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h2><strong>Error Responses</strong></h2>
|
<h2><strong>Error Responses</strong></h2>
|
||||||
|
@ -97,8 +97,7 @@ scrape_configs:
|
|||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:8080']
|
- targets: ['localhost:8080']
|
||||||
metrics_path: '/etapi/metrics'
|
metrics_path: '/etapi/metrics'
|
||||||
headers:
|
bearer_token: 'YOUR_ETAPI_TOKEN'
|
||||||
Authorization: 'YOUR_ETAPI_TOKEN'
|
|
||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user