mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +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: | ||||
|       - 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> | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
| ``` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user