Skip to content

Conversation

@natemcmaster
Copy link

This includes the master branch of health checks projects from aspnet/Diagnostics. cref #548

pranavkm and others added 30 commits May 4, 2017 22:15
- Removed EF ApiCheck tests; not required for middleware.
- Removed JB annotations and Check usage; align with other Diagnostics Pages projects.
- Fixed code redundancies.
- Made EF calls async
- Removed a slow, repeated DB existence check.
* Matches `.travis.yml` used in other repos
aspnetci and others added 27 commits September 30, 2018 12:10
[auto-updated: dependencies]
…master

[automated] Merge branch 'release/2.2' => 'master'
IHealthCheckPublisher allows you to configure and run health checks
regularly inside an application, and push the notifications elsewhere.

All publishers are part of a single queue with a configurable period and
timeout.
…master

[automated] Merge branch 'release/2.2' => 'master'
…master

[automated] Merge branch 'release/2.2' => 'master'
Fixes aspnet/Diagnostics#511 and aspnet/Diagnostics#514

It's really confusing to people that we use Map. Users expect that the
URL they provide for the health check middleware will only process
exact matches. The way it behaves when using map is not optimal for some
of the common patterns.
…master

[automated] Merge branch 'release/2.2' => 'master'
- Renamed the property for configuration response caching headers
- Renamed the options class to avoid conflicts with other type names

Fixes aspnet/Diagnostics#509
…master

[automated] Merge branch 'release/2.2' => 'master'
* Redesign HealthStatus (again)

This change brings back the ability to return Healthy/Degraded/Unhealthy
in a HealthCheckResult. We tried making this pass/fail in 2.2.0-preview3
and folks writing health checks for their own use pointed out (rightly
so) that it was too limited.

It's still possible for the app developer to configure the failure
status of a health check, but it requires the health check author to
cooperate.

I also got rid of HealthStatus.Failed since it raises more questions
than it answers. It's really not clear that it's valuable for a health
check for behave different when throwing an unhandled exception.

We would still recommend that a health check library handle exceptions
that they know about and return `context.Registration.FailureStatus`.
…master

[automated] Merge branch 'release/2.2' => 'master'
@natemcmaster natemcmaster merged commit 112c1a8 into master Nov 21, 2018
@natemcmaster natemcmaster deleted the namc/merge-2.2 branch November 21, 2018 21:38
@ghost ghost locked as resolved and limited conversation to collaborators May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.