Elastic agent dropwizard configuration

Does elastic agent support dropwizard configuration ? I couldn't find any documentation on how to enable dropwizard configuration using elastic agent. I am running elastic agent in kubernetes, and would like to know how to add the following dropwizard configuration:
metricbeat.yml: |
- module: dropwizard
index: metrics-*
period: 10s
metricsets: ["collector"]
hosts: ["https://my-service:8008"]
metrics_path: /metrics
namespace: "test-namespace"
enabled: true
ssl.verification_mode: none
- add_kubernetes_metadata: ~

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.