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

exclude reports that indicate a healthy status #143

Merged
merged 2 commits into from
Apr 4, 2019
Merged

exclude reports that indicate a healthy status #143

merged 2 commits into from
Apr 4, 2019

Conversation

Expecho
Copy link
Contributor

@Expecho Expecho commented Apr 4, 2019

Fix for #138 that makes it possible to configure the Application Insights publisher to only publish reports that indicate an unhealthy state by adding an optional flag excludeHealthyReports.

When the publisher is configured to publish the details (using saveDetailedReport) only those detailed reports indicating an unhealthy state will be published if excludeHealthyReports is set to true

I am all open for creating a functional test for this (as there are none for this particalur publisher) but I would like to add a dependency to Moq or NSubstitute in order to be able to fake the application insights classes involved. If that is ok with you I can add those tests, otherwise I need to figure out other ways.

@unaizorrilla unaizorrilla merged commit 2cb5739 into Xabaril:master Apr 4, 2019
@unaizorrilla
Copy link
Collaborator

Hi @Expecho ,

Thanks for contributing this, a new release build is on appveyor, when finish a new package for AI publisher version 2.2.3 will be on NuGet!

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.

2 participants