We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I use the default haproxy.d/conf.yaml.example the integration returns an exception:
Datadog’s haproxy integration is reporting: Instance #initialization[ERROR]: yaml: unmarshal errors: line 3: cannot unmarshal !!map into []integration.RawMap
It seems Instances is a list and the default dash (-) on row 48 was removed in this changeset: 21e55ad#diff-54a9adc2f86e2b48330c011f28bb25f2fb31dc4f604b129c4d66f645e94198c1
this is the (condensed) current, wrong example config:
init_config: instances:
This is what it should be:
init_config: instances: -
The text was updated successfully, but these errors were encountered:
@defcon84 when is it useful to have an empty instances field?
instances
Sorry, something went wrong.
@iliakur
In the Haproxy specific, I don't know if an empty instance field is useful. This is the config I use now:
instance
init_config: instances: - use_openmetrics: true openmetrics_endpoint: http://10.x.x.x:8404/metrics
But the - is needed or it throws an exception.
Also, it would be more in line with the other example config files, eg: https://github.com/DataDog/integrations-core/blob/master/iis/datadog_checks/iis/data/conf.yaml.example
iliakur
No branches or pull requests
If I use the default haproxy.d/conf.yaml.example the integration returns an exception:
It seems Instances is a list and the default dash (-) on row 48 was removed in this changeset:
21e55ad#diff-54a9adc2f86e2b48330c011f28bb25f2fb31dc4f604b129c4d66f645e94198c1
this is the (condensed) current, wrong example config:
This is what it should be:
The text was updated successfully, but these errors were encountered: