OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 年之前
..
internal 9a0f8f30ce [chore][receiver/azureblob] create metadata (#21843) 1 年之前
testdata 26a6516bbf receiver/azureblobreceiver Second PR (#12418) 2 年之前
Makefile e11aa639cd [receiver/azureblob] First PR (#11872) 2 年之前
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) 1 年之前
blobclient.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
blobclient_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
blobeventhandler.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) 1 年之前
blobeventhandler_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
config.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
config_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
factory.go 84e3963a50 [chore] addressing lint issues (#22862) 1 年之前
factory_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 年之前
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 年之前
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 年之前
mock_blobclient.go c1fb7f1a6b [chore] [receiver/azureblob] Unexport mocks (#24849) 1 年之前
mock_logsdataconsumer.go c1fb7f1a6b [chore] [receiver/azureblob] Unexport mocks (#24849) 1 年之前
mock_tracesddataconsumer.go c1fb7f1a6b [chore] [receiver/azureblob] Unexport mocks (#24849) 1 年之前
receiver.go 2d3ed4fb66 [chore] update core and calls to obsreport (#27042) 1 年之前
receiver_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 年之前

README.md

Azure Blob Receiver

Status
Stability development: logs, traces
Distributions contrib
Issues Open issues Closed issues
Code Owners @eedorenko, @mx-psi

This receiver reads logs and trace data from Azure Blob Storage.

Configuration

The following settings are required:

  • connection_string: (no default): Azure Blob Storage connection key, which can be found in the Azure Blob Storage resource on the Azure Portal.
  • event_hub: endpoint: (no default): Azure Event Hub endpoint triggering on the Blob Create event

The following settings can be optionally configured:

  • logs: container_name: (default = "logs"): Name of the blob container with the logs
  • traces: container_name: (default = "traces"): Name of the blob container with the traces

Example:

receivers:
  azureblob:
    connection_string: DefaultEndpointsProtocol=https;AccountName=accountName;AccountKey=+idLkHYcL0MUWIKYHm2j4Q==;EndpointSuffix=core.windows.net
    event_hub:
      endpoint: Endpoint=sb://oteldata.servicebus.windows.net/;SharedAccessKeyName=otelhubbpollicy;SharedAccessKey=mPJVubIK5dJ6mLfZo1ucsdkLysLSQ6N7kddvsIcmoEs=;EntityPath=otellhub    

The receiver subscribes on the events published by Azure Blob Storage and handled by Azure Event Hub. When it receives Blob Create event, it reads the logs or traces from a corresponding blob and deletes it after processing.