On Friday, 7 August 2020 08:57:30 UTC+1, Pau Freixes wrote:
>
> http_api_requests service_name=foo, status_code=200, resource_path="/a" 
> http_api_requests service_name=foo, status_code=500, resource_path="/b" 
> http_api_requests service_name=bar, status_code=200, resource_path="/c" 
> http_api_requests service_name=bar, status_code=500, resource_path="/d" 
>
>
Beware any label that comes from user-supplied data.  If I hit your server 
with path /xyz123 (which is an invalid resource, and you respond with 404) 
then you don't want to create a new timeseries with label 
resource_path="/xyz123".  This would mean I could create an unlimited 
number of timeseries.  However, if you group together all invalid resources 
into the same bucket, that would be OK.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/ba8492e7-fc9a-4dad-9376-4fc5e30e35a4o%40googlegroups.com.

Reply via email to