Skip to content

[NEW-FEATURE] Add feat to monitor the connector performance#198

Merged
PTKu merged 11 commits intodevfrom
197-_NEW-FEATURE_Add_feat_to_monitor_the_connector_performance
Aug 2, 2023
Merged

[NEW-FEATURE] Add feat to monitor the connector performance#198
PTKu merged 11 commits intodevfrom
197-_NEW-FEATURE_Add_feat_to_monitor_the_connector_performance

Conversation

@IX-BOT
Copy link
Contributor

@IX-BOT IX-BOT commented Jul 24, 2023

This PR adds

  • the possibility of logging connector performance data.
  • (breaking) improves polling subscribe / unsubscribe
  • add documentation
  • consolidates Nuget packages
  • bumps to v0.2

closes #197

PTKu and others added 9 commits July 24, 2023 06:20
# SetLoggerConfiguration
- connector has now
SetLoggerConfiguration method to provide an option to set up customized logger, that will override the default logger of the connector

e.g.
~~~
new LoggerConfiguration()
                .WriteTo
                .Console()
                .WriteTo
                .File($"connector{GetType()}.log",
                    outputTemplate: "{Timestamp:yyyy-MMM-dd HH:mm:ss} [{Level}] {Message}{NewLine}{Exception}",
                    fileSizeLimitBytes: 100000)
                .MinimumLevel.Information()
                .CreateLogger();
~~~

# Verbose and debug logging (webapi connector)

- debug log when reading and writing occurs infoming about number of processed items
- verbose will provide detailed information about symbols being accessed and polling counts.

## Removes the OnInitialized
- RCC removes call of OnInitialized method when Presentation type is set, due to reduntant method call that affects the polling counter.
@PTKu PTKu marked this pull request as ready for review August 2, 2023 06:03
@PTKu PTKu requested review from Brano5 and Specter-13 August 2, 2023 06:03
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.

[NEW-FEATURE] Add feat to monitor the connector performance

4 participants