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

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

Open
StefanSa opened this issue Nov 4, 2024 · 0 comments
Open

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

StefanSa opened this issue Nov 4, 2024 · 0 comments

Comments

@StefanSa
Copy link

StefanSa commented Nov 4, 2024

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?

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

No branches or pull requests

1 participant