Particular / NServiceBus.SqlServer

SQL Server Transport for NServiceBus
https://docs.particular.net/nservicebus/sqlserver/
Other
42 stars 36 forks source link

Add startup diagnostics info #404

Closed MarcinHoppe closed 6 years ago

MarcinHoppe commented 7 years ago

We can now capture startup diagnostic information.

We need to decide what info is worth logging and implement it.

Connects to https://github.com/Particular/DotNetCoreLaunch/issues/78

PoA

ramonsmits commented 6 years ago

Please execute SELECT @@VERSION on SQL Server to capture SQL Server version info. This helps us to understand if the customer is running with the latest patches on their SQL box.

weralabaj commented 6 years ago

I propose to capture:

weralabaj commented 6 years ago

@Particular/sqlserver-transport-maintainers Anything missing that should be included ☝️

SzymonPobiega commented 6 years ago

Multiple connection strings are no longer supported but multiple schemas/catalogs should be reported. Question is how detailed should the report be i.e. if we should report yet/no or the actual configuration. The latter is accessible through https://github.com/Particular/NServiceBus.SqlServer/blob/develop/src/NServiceBus.SqlServer/Addressing/EndpointSchemaAndCatalogSettings.cs and https://github.com/Particular/NServiceBus.SqlServer/blob/develop/src/NServiceBus.SqlServer/Addressing/TableSchemaAndCatalogSettings.cs

weralabaj commented 6 years ago

I think yes/no

weralabaj commented 6 years ago

Users can access more detailed info on their own, if necessary, but that would be useful for us in support cases I think.

weralabaj commented 6 years ago

@SzymonPobiega @tmasternak We didn't document that diagnostic info output for sql persistence, I'm not sure if we should do that for sql server/both? I think it'd be more sensible to extract this part https://docs.particular.net/nservicebus/hosting/#startup-diagnostics and only remark that downstreams can add their own diagnostic data, but it may change over time. Thoughts?

weralabaj commented 6 years ago

I've just realized there's a related issue, so I went ahead and created this pr https://github.com/Particular/docs.particular.net/pull/3862