MCP Server Framework - v1.0.0
    Preparing search index...

    Variable METRIC_ATTRIBUTESConst

    METRIC_ATTRIBUTES: {
        COMPONENT: "component";
        CURRENT_STATE: "connection.state.current";
        ERROR_TYPE: "error.type";
        PREVIOUS_STATE: "connection.state.previous";
        SUCCESS: "success";
        TOOL_NAME: "tool.name";
        TRANSPORT: "transport";
    } = ...

    Semantic attribute names for server metrics.

    Type Declaration

    • ReadonlyCOMPONENT: "component"

      Component where error occurred

    • ReadonlyCURRENT_STATE: "connection.state.current"

      Current connection state

    • ReadonlyERROR_TYPE: "error.type"

      Error type

    • ReadonlyPREVIOUS_STATE: "connection.state.previous"

      Previous connection state

    • ReadonlySUCCESS: "success"

      Request success status

    • ReadonlyTOOL_NAME: "tool.name"

      Tool name being invoked

    • ReadonlyTRANSPORT: "transport"

      Transport type (http, sse, stdio)