Skip to content
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

azureblobreceiver not reading the logs & traces #33132

Closed
deepan10 opened this issue May 20, 2024 · 1 comment
Closed

azureblobreceiver not reading the logs & traces #33132

deepan10 opened this issue May 20, 2024 · 1 comment
Labels
bug Something isn't working needs triage New item requiring triage receiver/azureblob

Comments

@deepan10
Copy link
Contributor

Component(s)

receiver/azureblob

What happened?

Description

azureblobreceiver detecting the BlobCreate event and no logs & traces is read

Steps to Reproduce

  1. configure azureblobreceiver
  2. Add the below pipeline
pipelines:
        traces:
          receivers: [azureblob]
          processors: []
          exporters: [debug]
        logs:
          receivers: [azureblob]          
          processors: []
          exporters: [debug]

Expected Result

It should print the received logs & traces

Actual Result

TracesExporter {"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 0, "spans": 0}
LogsExporter {"kind": "exporter", "data_type": "logs", "name": "debug", "resource logs": 0, "log records": 0}

Collector version

Starting otelcol-contrib... {"Version": "0.100.0", "NumCPU": 16}

Environment information

Environment

Docker Image otel/opentelemetry-collector-contrib:latest

OpenTelemetry Collector configuration

receivers:
  otlp:
    protocols:
      grpc:          
      http:
  azureblob:
    connection_string: <REDACATED>
    event_hub:
      endpoint: <REDACATED>
    traces: 
      container_name: insights-logs-apptraces

processors:
  batch:

exporters:
  debug:
    verbosity: detailed

service:   
  pipelines:
    traces:
      receivers: [otlp,azureblob]
      processors: []
      exporters: [debug]
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [debug]
    logs:
      receivers: [otlp,azureblob]          
      processors: []
      exporters: [debug]

Log output

TracesExporter {"kind": "exporter", "data_type": "traces", "name": "debug", "resource spans": 0, "spans": 0}
LogsExporter {"kind": "exporter", "data_type": "logs", "name": "debug", "resource logs": 0, "log records": 0}

Additional context

No response

@deepan10 deepan10 added bug Something isn't working needs triage New item requiring triage labels May 20, 2024
Copy link
Contributor

Pinging code owners:

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

@deepan10 deepan10 closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage receiver/azureblob
Projects
None yet
Development

No branches or pull requests

1 participant