public ConversationServiceMetricsDecorator(IConversationService service, IMetricsClient metricsClient) { this.service = service; listMessagesControllerTimeMetric = metricsClient.CreateAggregateMetric("ListMessagesControllerTime"); postMessageControllerTimeMetric = metricsClient.CreateAggregateMetric("PostMessageControllerTime"); }
public ProfileController(IProfileStore profileStore, IMetricsClient client, ILogger <ProfileController> logger) { this.profileStore = profileStore; this.logger = logger; PostProfileMetric = client.CreateAggregateMetric("PostProfileTime"); GetProfileMetric = client.CreateAggregateMetric("GetProfileTime"); }
public MessagesStoreMetricsDecorator(IMessagesStore store, IMetricsClient metricsClient) { this.store = store; addMessageMetric = metricsClient.CreateAggregateMetric("AddMessageToMessageStoreTime"); getMessageMetric = metricsClient.CreateAggregateMetric("GetMessageFromMessageStoreTime"); listMessagesMetric = metricsClient.CreateAggregateMetric("ListMessagesFromMessageStoreTime"); }
public ProfileController(IProfileStore profileStore, ILogger <ProfileController> logger, IMetricsClient metricsClient) { this.profileStore = profileStore; this.logger = logger; this.metricsClient = metricsClient; getProfileControllerTimeMetric = this.metricsClient.CreateAggregateMetric("GetProfileControllerTime"); createProfileControllerTimeMetric = this.metricsClient.CreateAggregateMetric("CreateProfileControllerTime"); }
public ConversationController(IConversationStore store, ILogger <ConversationController> logger, IMetricsClient client, INotificationServiceClient notificationService) { this.store = store; this.logger = logger; this.notificationService = notificationService; PostMessageMetric = client.CreateAggregateMetric("PostMessageTime"); GetMessagesMetric = client.CreateAggregateMetric("GetMessageTime"); }
public ProfileStoreMetricsDecorator(IProfileStore store, IMetricsClient metricsClient) { this.store = store; addProfileMetric = metricsClient.CreateAggregateMetric("AddProfileTime"); getProfileMetric = metricsClient.CreateAggregateMetric("GetProfileTime"); tryDeleteMetric = metricsClient.CreateAggregateMetric("TryDeleteTime"); updateProfileMetric = metricsClient.CreateAggregateMetric("UpdateProfileTime"); }
public ConversationStoreMetricDecorator(IConversationStore store, IMetricsClient metricsClient) { this.store = store; AddConversationMetric = metricsClient.CreateAggregateMetric("AddConversationTime"); GetConversationsMetric = metricsClient.CreateAggregateMetric("GetConversationsTime"); AddMessageMetric = metricsClient.CreateAggregateMetric("AddMessageTime"); GetConversationMessagesMetric = metricsClient.CreateAggregateMetric("GetConversationMessagesTime"); }
public ConversationsController(IConversationStore store, IMetricsClient client, ILogger <ConversationsController> logger, IProfileStore profileStore, INotificationServiceClient notificationService) { this.store = store; this.logger = logger; this.profileStore = profileStore; this.notificationService = notificationService; PostConversationMetric = client.CreateAggregateMetric("PostConversationTime"); GetConversationMetric = client.CreateAggregateMetric("GetConversationTime"); }
public ConversationStoreMetricsDecorator(IConversationsStore store, IMetricsClient metricsClient) { this.store = store; listMessagesMetric = metricsClient.CreateAggregateMetric("ListMessagesfromConversationsStoreTime"); addMessageMetric = metricsClient.CreateAggregateMetric("AddMessageToConversationsStoreTime"); getMessageMetric = metricsClient.CreateAggregateMetric("GetMessageFromConversationsStoreTime"); listConversationsMetric = metricsClient.CreateAggregateMetric("ListConversationsTime"); addConversationMetric = metricsClient.CreateAggregateMetric("AddConversationTime"); getConversationMetric = metricsClient.CreateAggregateMetric("GetConversationsTime"); }
public ConversationsController(IConversationsStore conversationsStore, IProfileStore profileStore, ILogger <ConversationsController> logger, IMetricsClient metricsClient, INotificationService notificationService) { this.conversationsStore = conversationsStore; this.profileStore = profileStore; this.logger = logger; this.metricsClient = metricsClient; this.notificationService = notificationService; listConversationsControllerTimeMetric = this.metricsClient.CreateAggregateMetric("ListConversationsControllerTime"); createConversationControllerTimeMetric = this.metricsClient.CreateAggregateMetric("CreateConversationControllerTime"); }
public ProfileStoreMetricDecorator(IProfileStore store, IMetricsClient metricsClient) { this.store = store; GetProfileMetric = metricsClient.CreateAggregateMetric("GetProfileTime"); AddProfileMetric = metricsClient.CreateAggregateMetric("AddProfileTime"); }
public NotificationServiceMetricsDecorator(INotificationService notificationService, IMetricsClient metricsClient) { this.notificationService = notificationService; sendNotificationMetric = metricsClient.CreateAggregateMetric("SendNotificationTime"); }