mirror of https://github.com/pikvm/pikvm.git
				
				
				
			Update api.md
This commit is contained in:
		
							parent
							
								
									fc9967be13
								
							
						
					
					
						commit
						20a71149c2
					
				|  | @ -317,7 +317,7 @@ On `POST` it will interact with selected GPIO driver channel in `pulse` mode. Pa | ||||||
| - `wait` Boolean. Says if call should return immediately or just after finishing operation. | - `wait` Boolean. Says if call should return immediately or just after finishing operation. | ||||||
| 
 | 
 | ||||||
| ## Get Prometheus metrics: `/api/export/prometheus/metrics` | ## Get Prometheus metrics: `/api/export/prometheus/metrics` | ||||||
| On `GET` it will return the exported Prometheus metrics. | On `GET` it will return the exported Prometheus metrics. Also see [here](prometheus.md) for details. | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
| $ curl -k -u admin:admin https://<pikvm-ip>/api/export/prometheus/metrics | $ curl -k -u admin:admin https://<pikvm-ip>/api/export/prometheus/metrics | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue