I have customized the original PostgreSQL plugin and added a service_name field in order to connect to the OpenShift PostgreSQL services running in pods.
The custom plugin installs in the tenant without issue and I can enter and save login credentials.
No metrics are collected.
Am I supposed to deploy the custom plugin manually on the OpenShift nodes in /opt/dynatrace/oneagent/plugin_deployment or somewhere else?
Solved! Go to Solution.
I seem to have missed that plugins are not supported when running dynatrace from containers in pods, even though it is clearly stated in the documentation:
So to actually monitor postgreSQL OpenShift services, some workaround must be configured.
(Contemplating an ugly hack with HAProxy tcp lb with configured nodeports)