Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

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