Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LokiClient ¶
LokiClient handles sending log messages to Loki.
func InitializeLokiClient ¶
func InitializeLokiClient(url string) *LokiClient
func NewLokiClient ¶
func NewLokiClient(url string) *LokiClient
NewLokiClient creates a new instance of LokiClient.
func (*LokiClient) SendLog ¶
func (c *LokiClient) SendLog(level, message string) error
type LokiLogEntry ¶
type LokiPayload ¶
type LokiPayload struct {
Streams []LokiStream `json:"streams"`
}
type LokiStream ¶
Click to show internal directories.
Click to hide internal directories.