Metrics | Logs | Traces |
---|---|---|
✓ | ✓ | ✓ |
The Azure Blob Storage destination saves telemetry as OTLP JSON files in Azure Blob Storage.
Parameter | Type | Default | Description |
---|---|---|---|
telemetry_types* | telemetrySelector |
Logs, Metrics, Traces | Specifies which types of telemetry to export. |
connection_string* | string |
"" | The connection string for the Azure Storage account. More information can be found here. |
container* | string |
"" | Name of the Azure Storage container to export telemetry into. |
prefix | string |
"" | The root directory of the blob path to export telemetry into. |
blob_prefix | string |
"" | Prefix for the name of the exported telemetry files. |
partition* | enum |
minute | The granularity of the timestamps in the blob path, either “minute” or “hour”. |
compression | enum |
gzip |
The compression algorithm to use when exporting telemetry, either “none” or “gzip” |
*required field
This destination supports the following retry and queuing settings:
Sending Queue | Persistent Queue | Retry on Failure |
---|---|---|
✓ | ✓ | ✓ |
For basic configuration, we specify the connection_string
as well as a container
, prefix
, and blob_prefix
. By default, we are still using a partition
of minute
and gzip
for the compression
value. This will create a blob path that looks like the following inside the otel
container:
telemetry/year=2021/month=01/day=01/hour=01/minute=00/bindplanemetrics_{random_id}.json.gz
telemetry/year=2021/month=01/day=01/hour=01/minute=00/bindplanelogs_{random_id}.json.gz
telemetry/year=2021/month=01/day=01/hour=01/minute=00/bindplanetraces_{random_id}.json.gz
apiVersion: bindplane.observiq.com/v1
kind: Destination
metadata:
id: azure_blob
name: azure_blob
spec:
type: azure_blob
parameters:
- name: telemetry_types
value: ['Logs', 'Metrics', 'Traces']
- name: connection_string
value: 'DefaultEndpointsProtocol=https;AccountName=accountName;AccountKey=+idLkHYcL0MUWIKYHm2j4Q==;EndpointSuffix=core.windows.net'
- name: container
value: 'otel'
- name: prefix
value: 'telemetry'
- name: blob_prefix
value: bindplane
This configuration is the same as the basic configuration but will specify a partition
of hour
and compression
set to none
. This will create a blob path that looks like the following inside the otel
container:
telemetry/year=2021/month=01/day=01/hour=01/bindplanemetrics_{random_id}.json
telemetry/year=2021/month=01/day=01/hour=01/bindplanelogs_{random_id}.json
telemetry/year=2021/month=01/day=01/hour=01/bindplanetraces_{random_id}.json
apiVersion: bindplane.observiq.com/v1
kind: Destination
metadata:
id: azure_blob
name: azure_blob
spec:
type: azure_blob
parameters:
- name: telemetry_types
value: ['Logs', 'Metrics', 'Traces']
- name: connection_string
value: 'DefaultEndpointsProtocol=https;AccountName=accountName;AccountKey=+idLkHYcL0MUWIKYHm2j4Q==;EndpointSuffix=core.windows.net'
- name: container
value: 'otel'
- name: prefix
value: 'telemetry'
- name: blob_prefix
value: bindplane
- name: partition
value: 'hour'
- name: compression
value: 'none'