Browse Source

[Feature] Allow to set rewrite subject pattern from settings

Issue: #2766
Closes: #2766
tags/1.9.0
Vsevolod Stakhov 5 years ago
parent
commit
83e473fa18
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/plugins/lua/settings.lua

+ 4
- 0
src/plugins/lua/settings.lua View File

@@ -78,6 +78,10 @@ local function apply_settings(task, to_apply)
to_apply.symbols))
end
end

if to_apply.subject then
task:set_metric_subject(to_apply.subject)
end
end

-- Checks for overridden settings within query params and returns 'true' if

Loading…
Cancel
Save