Open
Description
Component(s)
connector/signaltometricsconnector
Describe the issue you're reporting
As a follow up to https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/40113/files#r2093058092, review how to handle config validation for all funcs that return map (or other non-primitives) and generalize validations such as ExtractGrokPatterns.