Documentation
¶
Overview ¶
Package scraper fetches Prometheus-format metrics.
Index ¶
Constants ¶
View Source
const ( // MetricInflightName is the in-flight gauge. MetricInflightName = "broker_inflight_requests" // MetricRequestsName is the per-transport request counter, // incremented on HTTP request completion or gRPC stream close. MetricRequestsName = "broker_requests_total" // MetricStreamMessagesName is the per-transport stream message // counter — SSE events for REST/passthrough, server→client // frames for gRPC. Zero for unary responses. MetricStreamMessagesName = "broker_stream_messages_total" // TransportLabelName is the label the broker uses to distinguish // JSONRPC, REST, gRPC, and passthrough buckets on every metric. TransportLabelName = "transport" )
Metric names emitted by the broker.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.