mirror of
https://github.com/netbox-community/netbox.git
synced 2025-09-06 14:23:36 -06:00
Correct metric name
This commit is contained in:
parent
3ae4e18f8e
commit
d9ca82c8fc
@ -25,7 +25,7 @@ class Metrics(middleware.Metrics):
|
|||||||
)
|
)
|
||||||
self.rest_api_requests_by_view_method = self.register_metric(
|
self.rest_api_requests_by_view_method = self.register_metric(
|
||||||
Counter,
|
Counter,
|
||||||
"django_http_requests_total_by_view_method",
|
"rest_api_requests_total_by_view_method",
|
||||||
"Count of REST API requests by view & method",
|
"Count of REST API requests by view & method",
|
||||||
["view", "method"],
|
["view", "method"],
|
||||||
namespace=NAMESPACE,
|
namespace=NAMESPACE,
|
||||||
|
Loading…
Reference in New Issue
Block a user