fix(docs): fix bearer_token reference in metrics docs

This commit is contained in:
perf3ct 2025-05-27 15:23:44 +00:00
parent 75ec3934af
commit 405b1c5ffc
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
2 changed files with 2 additions and 4 deletions

View File

@ -73,8 +73,7 @@ trilium_notes_total 1234 1701432000
static_configs:
- targets: ['localhost:8080']
metrics_path: '/etapi/metrics'
headers:
Authorization: 'YOUR_ETAPI_TOKEN'
bearer_token: 'YOUR_ETAPI_TOKEN'
scrape_interval: 30s
</code></pre>
<h2><strong>Error Responses</strong></h2>

View File

@ -97,8 +97,7 @@ scrape_configs:
static_configs:
- targets: ['localhost:8080']
metrics_path: '/etapi/metrics'
headers:
Authorization: 'YOUR_ETAPI_TOKEN'
bearer_token: 'YOUR_ETAPI_TOKEN'
scrape_interval: 30s
```