@nats-io/services
    Preparing search index...

    Type Alias NamedEndpointStats

    type NamedEndpointStats = {
        average_processing_time: Nanos;
        data?: unknown;
        last_error: string;
        name: string;
        num_errors: number;
        num_requests: number;
        processing_time: Nanos;
        queue_group?: string;
        subject: string;
    }
    Index
    average_processing_time: Nanos

    Average processing_time is the total processing_time divided by the num_requests in nanoseconds

    data?: unknown

    A field that can be customized with any data as returned by stats handler see ServiceConfig

    last_error: string

    The last error triggered by the endpoint, or an empty string when there has been none. Always present, as ADR-32 and the micro stats schema require and other clients send; older nats.js services may omit it.

    name: string

    The name of the endpoint

    num_errors: number

    Number of errors that the endpoint has raised

    num_requests: number

    The number of requests received by the endpoint

    processing_time: Nanos

    Total processing_time for the service in nanoseconds

    queue_group?: string

    The queue group the endpoint is listening on

    subject: string

    The subject the endpoint is listening on