Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfoCollector ¶
type BuildInfoCollector struct {
// contains filtered or unexported fields
}
BuildInfoCollector is a collector for build information metrics
func NewBuildInfoCollector ¶
func NewBuildInfoCollector(name, version, tag, sha, built string) *BuildInfoCollector
NewBuildInfoCollector creates new BuildInfoCollector
func (*BuildInfoCollector) Collect ¶
func (c *BuildInfoCollector) Collect(ch chan<- prometheus.Metric)
Collect returns the current state of all metrics of the collector.
func (*BuildInfoCollector) Describe ¶
func (c *BuildInfoCollector) Describe(ch chan<- *prometheus.Desc)
Describe returns all descriptions of the collector.
type GRPCServerMetricsCollector ¶
type GRPCServerMetricsCollector struct { *grpc_prometheus.ServerMetrics // contains filtered or unexported fields }
func NewGRPCServerMetricsCollector ¶
func NewGRPCServerMetricsCollector(namespace, system string) *GRPCServerMetricsCollector
func (*GRPCServerMetricsCollector) GetGRPCServerOptions ¶
func (c *GRPCServerMetricsCollector) GetGRPCServerOptions() ([]grpc.ServerOption, error)
GetGRPCServerOptions prepares slice of grpc.ServerOption for gRPC metrics collectors
func (*GRPCServerMetricsCollector) RegisterServer ¶
func (c *GRPCServerMetricsCollector) RegisterServer(server *grpc.Server)
Click to show internal directories.
Click to hide internal directories.