Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bstrzele committed Dec 23, 2024
1 parent d4e4f7d commit 9fd076f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metric_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const std::string METRIC_NAME_REQUESTS_ACCEPTED = "ovms_requests_accepted";
const std::string METRIC_NAME_REQUESTS_REJECTED = "ovms_requests_rejected";

const std::string METRIC_NAME_GRAPH_ERROR = "ovms_graph_error";
const std::string METRIC_NAME_PROCESSING_TIME = "ovms_graph_processing_time";
const std::string METRIC_NAME_PROCESSING_TIME = "ovms_graph_processing_time_us";

bool MetricConfig::validateEndpointPath(const std::string& endpoint) {
std::regex valid_endpoint_regex("^/[a-zA-Z0-9]*$");
Expand Down

0 comments on commit 9fd076f

Please sign in to comment.