Uses of Record Class
codes.grow.packages.datadoglogs.core.HealthStatus
Packages that use HealthStatus
Package
Description
Grow Codes SDK for Datadog Log Management.
-
Uses of HealthStatus in codes.grow.packages.datadoglogs
Methods in codes.grow.packages.datadoglogs that return HealthStatusModifier and TypeMethodDescriptionDatadogLogsClient.health()Reachability throughGET /api/v1/validate(Datadog has no health endpoint): 2xx is healthyok(details.apiKeyValid); 401/403 isunauthorized(not healthy); 429degraded; other statusesunhealthy; network errorsunreachable.Methods in codes.grow.packages.datadoglogs that return types with arguments of type HealthStatusModifier and TypeMethodDescriptionDatadogLogsClient.healthAsync()AsynchronousDatadogLogsClient.health(). -
Uses of HealthStatus in codes.grow.packages.datadoglogs.core
Methods in codes.grow.packages.datadoglogs.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(DatadogLogsException 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.datadoglogs.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.datadoglogs.core.HttpTransport, java.lang.String). -
Uses of HealthStatus in codes.grow.packages.datadoglogs.testing
Methods in codes.grow.packages.datadoglogs.testing that return HealthStatusModifier and TypeMethodDescriptionCoreTarget.health()Checks liveness; never throws for an unhealthy service.