Skip to content

The log-appender module is not working properly #474

@qy-liuhuo

Description

@qy-liuhuo

The log-appender module does not function properly when using opentelemetry-collector-contrib:0.107.0, as evidenced by:

The docker container cannot receive log messages reported by the application.

I think the following container's logs are helpful in resolving the issue:

localhostgate/featuregate.go:63	The default endpoints for all servers in components have changed to use localhost instead of 0.0.0.0. Disable the feature gate to temporarily revert to the previous default.	{"feature gate ID": "component.UseLocalHostAsDefaultHost"}

** Problem fixed when I lowered the mirror version to 0.66.0 ** just change the otel-config.yaml as follow:

version: '3'
services:
  collector:
    image: otel/opentelemetry-collector-contrib:0.66.0
    volumes:
      - ./otel-config.yaml:/otel-config.yaml
    command: ["--config=/otel-config.yaml"]
    ports:
      - "4317:4317"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions