Skip to content

Conversation

@seanfarmar
Copy link
Contributor

Copy link
Contributor

@danielmarbach danielmarbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you also update the sample? As a different PR?

@seanfarmar
Copy link
Contributor Author

Will you also update the sample? As a different PR?

I have an updated version of the sample, but for it to work I will need to update the platform sample with the serviceControl.Contracts...

Will I do this after the release?

@seanfarmar seanfarmar force-pushed the exposing-additional-events branch from e13a866 to f4ea629 Compare April 17, 2021 11:04
@seanfarmar seanfarmar changed the title Added additional events ServiceControl Integration added additional events Apr 19, 2021
Co-authored-by: Mike Minutillo <mike.minutillo@particular.net>
Copy link
Contributor

@danielmarbach danielmarbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think what is missing is the documentation of the flag to disable the event publishing on the settings/configuration page (can also be done in another PR). Other than that this looks good to me

using NServiceBus.Logging;
using ServiceControl.Contracts;

#region AzureMonitorConnectorEventsHandler
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to show the whole handler with all the other noise or could we just scope it to the handle method ? Or is it because we consider the part of IHandleMessages<> important?

using NServiceBus.Logging;
using ServiceControl.Contracts;

#region AzureMonitorConnectorEventsHandler
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to show the whole handler with all the other noise or could we just scope it to the handle method ? Or is it because we consider the part of IHandleMessages<> important?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We wanted to show the whole handler including the telemetry client injection and the message name. To make it smaller we moved all other supported messaged to a CustomEventsHandler.

@tmasternak tmasternak merged commit 785517e into master May 6, 2021
@tmasternak tmasternak deleted the exposing-additional-events branch May 6, 2021 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants