mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
fix(docs): fix bearer_token reference in metrics docs
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user