grafana/pkg/components/loki/lokihttp/config.go
Joan López de la Franca Beltran afef0c926c
Loki: Push support for multi-tenancy mode (#60866)
* Loki: Add multitenancy support for the HTTP client

* Loki: Support to push with multitenancy mode

* Apply feedback suggestions
2023-01-23 16:24:22 +01:00

24 lines
412 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
TenantID string
}