Skip to content

Azureblob Exporter not getting recognised #39272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ShashankV-Atlan opened this issue Apr 9, 2025 · 4 comments
Open

Azureblob Exporter not getting recognised #39272

ShashankV-Atlan opened this issue Apr 9, 2025 · 4 comments

Comments

@ShashankV-Atlan
Copy link

Component(s)

exporter/azureblob

What happened?


Description

Starting this thread to discuss an issue we're facing with exporting Keycloak OTEL logs to Azure Blob Storage.

With the release of opentelemetry-collector-contrib:0.122.1, support for the azureblob exporter has been added. Following this, we updated our collector to use this version and configured the azureblob exporter as follows:

exporters:
  azureblob:
    url: "https://$(AZURE_STORAGE_ACCOUNT).blob.core.windows.net/"
    container:
      logs: "log-events"
    auth:
      type: "connection_string"
      connection_string: "DefaultEndpointsProtocol=https;AccountName=$(AZURE_STORAGE_ACCOUNT);AccountKey=$(AZURE_STORAGE_ACCESS_KEY);EndpointSuffix=core.windows.net"

However, we’re encountering an issue where the collector fails to recognize azureblob as a valid exporter type.

Steps to Reproduce

  1. Use opentelemetry-collector-contrib:0.122.1 as the base image.
  2. Add the above azureblob exporter configuration.
  3. Deploy the updated collector and try to start the service.

Expected Result

The collector starts successfully and begins exporting logs to Azure Blob Storage as defined in the configuration.

Actual Result

The collector fails to start with the following error:

Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s):

error decoding 'exporters': unknown type: "azureblob" for id: "azureblob/1" 
(valid values: [googlemanagedprometheus loadbalancing logicmonitor sapm splunk_hec otlp alibabacloud_logservice clickhouse coralogix elasticsearch sumologic zipkin datadog doris honeycombmarker kafka opensearch otelarrow debug nop awscloudwatchlogs awskinesis awsxray cassandra file opencensus awss3 influxdb logzio sentry signalfx syslog carbon googlecloudpubsub awsemf mezmo pulsar rabbitmq otlphttp azuredataexplorer azuremonitor bmchelix dataset prometheus prometheusremotewrite tencentcloud_logservice googlecloud])

This suggests that despite being on a version that should support azureblob, the collector does not seem to recognize it.


Let me know if you want to include info on how you're building the image or injecting the config.

Collector version

opentelemetry-collector-contrib:0.122.1

Environment information

Environment

Running base Docker image

OpenTelemetry Collector configuration

Log output

Error: failed to get config: cannot unmarshal the configuration: decoding failed due to the following error(s):

error decoding 'exporters': unknown type: "azureblob" for id: "azureblob" 
(valid values: [googlemanagedprometheus loadbalancing logicmonitor sapm splunk_hec otlp alibabacloud_logservice clickhouse coralogix elasticsearch sumologic zipkin datadog doris honeycombmarker kafka opensearch otelarrow debug nop awscloudwatchlogs awskinesis awsxray cassandra file opencensus awss3 influxdb logzio sentry signalfx syslog carbon googlecloudpubsub awsemf mezmo pulsar rabbitmq otlphttp azuredataexplorer azuremonitor bmchelix dataset prometheus prometheusremotewrite tencentcloud_logservice googlecloud])

Additional context

No response

@ShashankV-Atlan ShashankV-Atlan added bug Something isn't working needs triage New item requiring triage labels Apr 9, 2025
Copy link
Contributor

github-actions bot commented Apr 9, 2025

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@hgaol
Copy link
Member

hgaol commented Apr 10, 2025

Hi @ShashankV-Atlan , that's because the stability is still in development, and not being added to release images. I'll create PRs for that.

@hgaol
Copy link
Member

hgaol commented Apr 10, 2025

/label waiting-for-author -needs-triage

@github-actions github-actions bot added waiting for author and removed needs triage New item requiring triage labels Apr 10, 2025
MovieStoreGuy pushed a commit that referenced this issue Apr 10, 2025
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Change azure blob exporter to alpha.

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Link to #39272 

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
akshays-19 pushed a commit to akshays-19/opentelemetry-collector-contrib that referenced this issue Apr 23, 2025
…-telemetry#39303)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Change azure blob exporter to alpha.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Link to open-telemetry#39272 

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-collector-contrib that referenced this issue Apr 24, 2025
…-telemetry#39303)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Change azure blob exporter to alpha.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Link to open-telemetry#39272 

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
@hgaol
Copy link
Member

hgaol commented Apr 24, 2025

should be fixed, there's someone can use it via opentelemetry-collector-contrib image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants