public void AddPersistentMetric(string name, string js) { _pipeline.RemoveProcessor(name); var newProcessor = new JavascriptMetric(name, js); _pipeline.AddProcessor(newProcessor); }