apache_log_metrics: Fix endpoint explosion
By not matching a pattern against the file name uploaded by /static/
endpoints, we risk emitting too many streams to Monarch. Fix this by
providing a canonical name for a fixed set of filename patterns and
emitting filename='' otherwise.
Also, require milestone to match 'R\d+' to avoid having non-milestone
strings being matched.
Reviewed-by: Aviv Keshet <firstname.lastname@example.org>
Tested-by: Paul Hobbs <email@example.com>
1 file changed