mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00
22 lines
394 B
Go
22 lines
394 B
Go
package lokihttp
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/grafana/dskit/backoff"
|
|
"github.com/grafana/dskit/flagext"
|
|
"github.com/prometheus/common/config"
|
|
)
|
|
|
|
// Config describes configuration for a HTTP pusher client.
|
|
type Config struct {
|
|
URL flagext.URLValue
|
|
BatchWait time.Duration
|
|
BatchSize int
|
|
|
|
Client config.HTTPClientConfig
|
|
|
|
BackoffConfig backoff.Config
|
|
Timeout time.Duration
|
|
}
|