loki azure_storage_config

# Azure Cloud environment. Supported values are: AzureGlobal, AzureChinaCloud,
# AzureGermanCloud, AzureUSGovernment.
# CLI flag: -.azure.environment
[environment:  | default = "AzureGlobal"]

# Azure storage account name.
# CLI flag: -.azure.account-name
[account_name:  | default = ""]

# Azure storage account key.
# CLI flag: -.azure.account-key
[account_key:  | default = ""]

# Name of the storage account blob container used to store chunks. This
# container must be created before running cortex.
# CLI flag: -.azure.container-name
[container_name:  | default = "loki"]

# Azure storage endpoint suffix without schema. The storage account name will be
# prefixed to this value to create the FQDN.
# CLI flag: -.azure.endpoint-suffix
[endpoint_suffix:  | default = ""]

# Use Managed Identity to authenticate to the Azure storage account.
# CLI flag: -.azure.use-managed-identity
[use_managed_identity:  | default = false]

# Use Federated Token to authenticate to the Azure storage account.
# CLI flag: -.azure.use-federated-token
[use_federated_token:  | default = false]

# User assigned identity ID to authenticate to the Azure storage account.
# CLI flag: -.azure.user-assigned-id
[user_assigned_id:  | default = ""]

# Use Service Principal to authenticate through Azure OAuth.
# CLI flag: -.azure.use-service-principal
[use_service_principal:  | default = false]

# Azure Service Principal ID(GUID).
# CLI flag: -.azure.client-id
[client_id:  | default = ""]

# Azure Service Principal secret key.
# CLI flag: -.azure.client-secret
[client_secret:  | default = ""]

# Azure Tenant ID is used to authenticate through Azure OAuth.
# CLI flag: -.azure.tenant-id
[tenant_id:  | default = ""]

# Chunk delimiter for blob ID to be used
# CLI flag: -.azure.chunk-delimiter
[chunk_delimiter:  | default = "-"]

# Preallocated buffer size for downloads.
# CLI flag: -.azure.download-buffer-size
[download_buffer_size:  | default = 512000]

# Preallocated buffer size for uploads.
# CLI flag: -.azure.upload-buffer-size
[upload_buffer_size:  | default = 256000]

# Number of buffers used to used to upload a chunk.
# CLI flag: -.azure.download-buffer-count
[upload_buffer_count:  | default = 1]

# Timeout for requests made against azure blob storage.
# CLI flag: -.azure.request-timeout
[request_timeout:  | default = 30s]

# Number of retries for a request which times out.
# CLI flag: -.azure.max-retries
[max_retries:  | default = 5]

# Minimum time to wait before retrying a request.
# CLI flag: -.azure.min-retry-delay
[min_retry_delay:  | default = 10ms]

# Maximum time to wait before retrying a request.
# CLI flag: -.azure.max-retry-delay
[max_retry_delay:  | default = 500ms]

The azure_storage_config block configures the connection to Azure object storage backend. The supported CLI flags used to reference this configuration block are:

  • common.storage
  • ruler.storage

你可能感兴趣的:(loki,azure,flask,python,loki)