Uses of Record Class
codes.grow.packages.datadogapm.core.HealthStatus
Packages that use HealthStatus
Package
Description
Grow Codes SDK for Datadog APM.
-
Uses of HealthStatus in codes.grow.packages.datadogapm
Methods in codes.grow.packages.datadogapm that return HealthStatusModifier and TypeMethodDescriptionDatadogApmClient.health()Checks Agent liveness withGET /info(one attempt): healthy with statusokand detailsversion,git_commitwhen the Agent answers;unhealthy(detailshttpStatus,error) on HTTP errors;unreachable(detailserror) on network errors.Methods in codes.grow.packages.datadogapm that return types with arguments of type HealthStatusModifier and TypeMethodDescriptionDatadogApmClient.healthAsync()AsynchronousDatadogApmClient.health(). -
Uses of HealthStatus in codes.grow.packages.datadogapm.core
Methods in codes.grow.packages.datadogapm.core that return HealthStatusModifier and TypeMethodDescriptionstatic HealthStatusHealthCheck.check(HttpTransport transport, String path) Probes an endpoint once (no retries) and maps the outcome to aHealthStatus.static HealthStatusHealthCheck.fromError(DatadogApmException e) Maps a transport error tounreachable.static HealthStatusHealthCheck.fromResponse(TransportResponse resp) Maps a health response: 2xx is healthy; the word comes from a JSONstatusfield (ok/unhealthywhen absent); other string fields become details.static HealthStatusHealthStatus.ok()A healthyokstatus without details.static HealthStatusHealthStatus.unreachable(String reason) The status for a service that could not be reached.Methods in codes.grow.packages.datadogapm.core that return types with arguments of type HealthStatusModifier and TypeMethodDescriptionstatic CompletableFuture<HealthStatus> HealthCheck.checkAsync(HttpTransport transport, String path) Asynchronous variant ofHealthCheck.check(codes.grow.packages.datadogapm.core.HttpTransport, java.lang.String). -
Uses of HealthStatus in codes.grow.packages.datadogapm.testing
Methods in codes.grow.packages.datadogapm.testing that return HealthStatusModifier and TypeMethodDescriptionCoreTarget.health()Checks liveness; never throws for an unhealthy service.