The Advanced configuration example incorrectly uses a map for additionalConfigs when that field only supports the string type as defined here. Also see the example here.
@RLProteus thank you for reaching out and providing the detailed context. I've merged the linked PR and I'll close this for now, but please feel free to reopen if you have any further questions around this.
Documentation Page
Kubernetes Prometheus and OpenMetrics metrics collection
Issue Description
The Advanced configuration example incorrectly uses a map for
additionalConfigs
when that field only supports the string type as defined here. Also see the example here.Current doc:
Should be updated to: