@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
59 lines • 2.05 kB
TypeScript
import { RegistryMetricCreator } from "../../metrics/index.js";
import { GossipType } from "./interface.js";
export type Eth2GossipsubMetrics = ReturnType<typeof createEth2GossipsubMetrics>;
export declare function createEth2GossipsubMetrics(register: RegistryMetricCreator): {
gossipPeer: {
scoreByThreshold: import("@lodestar/utils").GaugeExtra<{
threshold: string;
}>;
meshPeersByClient: import("@lodestar/utils").GaugeExtra<{
client: string;
}>;
score: import("@lodestar/utils").AvgMinMax<import("@lodestar/utils").NoLabels>;
};
gossipMesh: {
peersByType: import("@lodestar/utils").GaugeExtra<{
type: GossipType;
boundary: string;
}>;
peersByBeaconAttestationSubnet: import("@lodestar/utils").GaugeExtra<{
subnet: string;
boundary: string;
}>;
peersBySyncCommitteeSubnet: import("@lodestar/utils").GaugeExtra<{
subnet: number;
boundary: string;
}>;
peersByDataColumnSubnet: import("@lodestar/utils").GaugeExtra<{
subnet: number;
boundary: string;
}>;
};
gossipTopic: {
peersByType: import("@lodestar/utils").GaugeExtra<{
type: GossipType;
boundary: string;
}>;
peersByBeaconAttestationSubnet: import("@lodestar/utils").GaugeExtra<{
subnet: string;
boundary: string;
}>;
peersBySyncCommitteeSubnet: import("@lodestar/utils").GaugeExtra<{
subnet: number;
boundary: string;
}>;
peersByDataColumnSubnet: import("@lodestar/utils").GaugeExtra<{
subnet: number;
boundary: string;
}>;
};
dataTransform: {
inbound: import("@lodestar/utils").Counter<{
type: GossipType;
}>;
outbound: import("@lodestar/utils").Counter<{
type: GossipType;
}>;
};
};
//# sourceMappingURL=metrics.d.ts.map