Skip to content

Tracking issue for confmap.strictlyTypedInput feature gate #10552

Closed
@mx-psi

Description

@mx-psi

This issue describes the confmap.strictlyTypedInput feature gate, intended to address #8565 and #9532.

What is changing?

  1. Configurations relying on the implicit type casting behaviors listed on [confmap] Stricter types on configuration resolution #9532 will start to fail.
  2. Configurations using URI expansion (i.e. field: ${env:ENV}) for string-typed fields will use the value passed in ENV verbatim without intermediate type casting.

What does it mean to me?

Starting on v0.105.0, you may have to adapt your configuration to use the correct type on some fields. This should be a straightforward. You are able to skip the error and update your configuration at your own pace by disabling the confmap.strictlyTypedInput feature gate.

Please reply below if:

  • You are unsure what an error means or how to update your configuration
  • An error tells you that you can disable the feature gate to skip it, but this does not work.

Changelog

Collector version Change PR
v0.103.0 Introduce feature gate as alpha #10400
v0.105.0 Promote feature gate to beta (enabled by default) #10554
v0.108.0 Promote feature gate to stable (can't be disabled) #10793
v0.110.0 Remove feature gate (errors out when referenced)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions