Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultPort is the default HTTP port of the collector. DefaultPort uint16 = 4318 // DefaultHost is the host address the client will attempt // connect to if no collector address is provided. DefaultHost string = "localhost" // DefaultPath is a default URL path for endpoint that receives logs DefaultPath string = "/v1/logs" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithEndpoint ¶
func WithEndpointURL ¶
Click to show internal directories.
Click to hide internal directories.