Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedMonitorServer // Embedded unimplemented server for protobuf
// contains filtered or unexported fields
}
Server represents a gRPC server for monitoring GitLab CI exporter.
func NewServer ¶
func NewServer( gitlabClient *gitlab.Client, c config.Config, st store.Store, tsm map[schemas.TaskType]*monitor.TaskSchedulingStatus, ) (s *Server)
NewServer creates a new Server instance.
func (*Server) GetTelemetry ¶
GetTelemetry streams telemetry data to the client.
Click to show internal directories.
Click to hide internal directories.