View Source Sleipnir.Client.Tesla (sleipnir v0.1.1)
Tesla client for Sleipnir.
Link to this section Summary
Functions
Returns a Tesla client set up to send logs to Loki.
Link to this section Types
Link to this section Functions
@spec new(base_url(), opts()) :: Tesla.Client.t()
Returns a Tesla client set up to send logs to Loki.
options
Options
:org_id
- Must be specified when using Loki in multi-tenancy mode (i.e. auth_enabled istrue
). Sets the X-Scope_orgID header accordingly Sets the X-Scope-OrgID header accordingly