mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-15 16:22:18 -06:00
Correct metric name
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user