ApiMetricsNodeTag<Self, HSelf>A node-bound ApiMetricsTag — its [nodeSym] narrowed to the node (so Hyperlink.client
resolves the transport). A named type so a consumer can export a node-bound metrics tag
without leaking the internal clientIdSym (TS4020). Returned by ApiMetrics.Tag()(id, { node }).
modelsApiMetricsTag
Source src/ApiMetrics.ts:1077 lines
export type type ApiMetricsNodeTag<Self, HSelf> = anyA node-bound
ApiMetricsTag
— its [nodeSym] narrowed to the node (so Hyperlink.client
resolves the transport). A named type so a consumer can export a node-bound metrics tag
without leaking the internal clientIdSym (TS4020). Returned by ApiMetrics.Tag()(id, { node }).
ApiMetricsNodeTag<function (type parameter) Self in type ApiMetricsNodeTag<Self, HSelf>Self, function (type parameter) HSelf in type ApiMetricsNodeTag<Self, HSelf>HSelf> = import NodeBoundTagNodeBoundTag<
function (type parameter) Self in type ApiMetricsNodeTag<Self, HSelf>Self,
type ApiMetricsSpec = {
readonly metrics: ReturnType<
typeof stream<typeof apiUsageMetrics>
>
readonly usage: ReturnType<
typeof ref<typeof apiUsageSnapshot>
>
}
ApiMetricsSpec,
function (type parameter) HSelf in type ApiMetricsNodeTag<Self, HSelf>HSelf
> & {
readonly [const clientIdSym: typeof clientIdSymWhere the linked outbound client id is stored on an
ApiMetrics
tag.
clientIdSym]: string;
};
Referenced by 1 symbols