Skip to content

The collector doesn't say anything if queue_size is smaller than .batch.min_size #12948

Closed
@iblancasa

Description

@iblancasa

Component(s)

exporter/exporterhelper

What happened?

Describe the bug
When creating some configuration where queue_size is smaller than .batch.min_size the collector doesn't complain. But later everything fails because the collector cannot keep the batches in the queue.

Steps to reproduce
Create an config where queue_size is smaller than .batch.min_size.

What did you expect to see?
A validation error.

Collector version

045488f

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

Log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions