// Builders public ServiceMetricBuilder ForService(string serviceName, string methodName, bool skipToLower = true) { // TODO: [TESTS] (ServiceMetricBuilder.ForService) Add tests _builder .WithTag(Tags.ServiceName, serviceName, skipToLower) .WithTag(Tags.ServiceMethod, methodName, skipToLower); return(this); }
// Builder methods public CronMetricBuilder ForCronJob(string className, string methodName) { // TODO: [TESTS] (CronMetricBuilder.ForCronJob) Add tests _builder .WithTag(Tags.CronClass, className, true) .WithTag(Tags.CronMethod, methodName, true); return(this); }
// Builder methods public RepoMetricBuilder ForRepo(string repoName, string repoMethod, string commandType, bool skipToLower = true) { // TODO: [TESTS] (RepoMetricBuilder.ForRepo) Add tests _builder .WithTag(Tags.RepoName, repoName, skipToLower) .WithTag(Tags.RepoMethod, repoMethod, skipToLower) .WithTag(Tags.CommandType, commandType, skipToLower); return(this); }