Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Submitter ¶
type Submitter struct {
// contains filtered or unexported fields
}
func NewSubmitter ¶
func NewSubmitter(logger *slog.Logger, client gen.MetricsClient) *Submitter
NewSubmitter creates a new submitter object.
func (*Submitter) Await ¶
func (s *Submitter) Await()
Await signals the goroutine running Run that no more metrics will be sent on the channel. Then it waits for that goroutine to submit them (with retries).
Click to show internal directories.
Click to hide internal directories.