Skip to content

search: record inferred file extensions in metrics

Administrator requested to merge rvt/structural-search-expand-inferred into master

Created by: rvantonder

Current prometheus metrics record the file extension for structural search, or 'inferred' if lang: is not specified. I'd like to know what gets inferred, which is based on the file extension of the first includePattern, if it exists. This PR adds the logic to record inferred languages/extensions.

Merge request reports

Loading