Skip to content

Commit

Permalink
Update prometheus-collectors/class-potential-multi-dataset-queries-co…
Browse files Browse the repository at this point in the history
…llector.php

Co-authored-by: Mohammad Jangda <[email protected]>
  • Loading branch information
luismulinari and mjangda authored Oct 5, 2023
1 parent 74c7171 commit b115332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function sql_query_log( $query ): void {
'blog_id' => get_current_blog_id(),
'extra' => [
'uri' => isset( $_SERVER['REQUEST_URI'] ) ? esc_url_raw( $_SERVER['REQUEST_URI'] ) : '',
'method' => isset( $_SERVER['REQUEST_METHOD'] ) ? sanitize_text_field( $_SERVER['REQUEST_METHOD'] ) : '',
'http_method' => isset( $_SERVER['REQUEST_METHOD'] ) ? sanitize_text_field( $_SERVER['REQUEST_METHOD'] ) : '',
'backtrace' => $backtrace,
],
]
Expand Down

0 comments on commit b115332

Please sign in to comment.