@grow-codes/apache-skywalking - v0.1.1
    Preparing search index...

    Class SkyWalkingClient

    Client for Apache SkyWalking OAP.

    Index

    The immutable configuration.

    • Flushes and closes log clients and tracing handles created here, then releases connections. Idempotent.

      Returns Promise<void>

    • Raw GraphQL (same as client.query.graphql).

      Type Parameters

      • T = Record<string, unknown>

      Parameters

      • query: string
      • variables: Record<string, unknown> = {}
      • options: CallOptions = {}

      Returns Promise<GraphQLResponse<T>>

    • Liveness: GET /healthcheck (OAP health checker, SW_HEALTH_CHECKER=default): 200 → ok, 503 → unhealthy. Without the health checker (404) falls back to GraphQL checkHealth (score 0 = ok). Never throws for an unhealthy or unreachable service (only CANCELLED and CONFIG).

      Parameters

      Returns Promise<HealthStatus>

    • Timed GraphQL round trip (getTimeInfo; also caches the OAP timezone). OAP has no query authentication: AuthenticationError only comes from a gateway in front of it.

      Parameters

      Returns Promise<number>

    • OAP version from GraphQL {version} (e.g. 10.4.0-b272da3).

      Parameters

      Returns Promise<string>