Skip to content

Status Code 503, Message=telemetry type is not supported #260

@StefanSa

Description

@StefanSa

Hi @qclaogui
I get this error message when i try to send logs to the internal alloy.

ts=2024-11-04T14:11:02.880506132Z level=error msg="Exporting failed. Dropping data." component_path=/ component_id=otelcol.exporter.otlphttp.default error="interrupted due to shutdown: Throttle (0s), error: rpc error: code = Unavailable desc = error exporting items, request to http://172.17.34.36:34318/v1/logs responded with HTTP Status Code 503, Message=telemetry type is not supported, Details=[]" dropped_items=267

However, when i send metrics i have no problem with it.
Here is my alloy config

local.file_match "logs_integrations_integrations_node_exporter_direct_scrape" {
  path_targets = [{
    __address__ = "localhost",
    __path__    = "/var/log/{syslog,messages,*.log}",
    instance    = constants.hostname,
    job         = "integrations/node_exporter",
  }]
}

loki.source.file "logs_integrations_integrations_node_exporter_direct_scrape" {
  targets    = local.file_match.logs_integrations_integrations_node_exporter_direct_scrape.targets
  forward_to = [otelcol.receiver.loki.default.receiver]
}

otelcol.receiver.loki "default" {
  output {
      logs    = [otelcol.processor.batch.batch_loki.input]
  }
}


otelcol.processor.batch "batch_loki" {
  output {
    logs = [otelcol.exporter.otlphttp.default.input]
  }
}


otelcol.exporter.otlphttp "default" {
  client {
    endpoint = "http://172.17.34.36:34318"
  }
}

Internal alloy port config

- ALLOY_LOG_LEVEL=warn
    ports:
      - "12345:12345"
      - "34317:4317"
      - "34318:4318"

Do you have any idea what this could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions