mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 16:06:31 +00:00 
			
		
		
		
	Fix prometheus function signature to use strings instead of strs
This commit is contained in:
		| @@ -77,7 +77,9 @@ where | ||||
|             let res = fut.await?; | ||||
|  | ||||
|             crate::metrics::MEILISEARCH_HTTP_REQUESTS_TOTAL | ||||
|                 .with_label_values(&[&request_method, &metric_path, res.status().as_str()]) | ||||
|                 .with_label_values( | ||||
|                     &[request_method, metric_path, res.status().as_str().to_string()][..], | ||||
|                 ) | ||||
|                 .inc(); | ||||
|  | ||||
|             if let Some(histogram_timer) = histogram_timer { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user