This article is valid for Smart ID 21.04 and later.
This article describes how to use Datadog with Smart ID Identity Manager.
In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup.
In the SmartID package we have an example configuration for it in <SMARTIDHOME>/docker/compose/tools/datadog.
This is not ready to use by default and you should have knowledge about datadog before you start using it.
In <SMARTIDHOME>/docker/compose/tools/datadog/datadog.env you need to do some changed related to your environment in datadog.
Compare it to https://docs.datadoghq.com/agent/docker
We recommend to set
DD_TAGS to identify your different environments.
To get some further information from the applications we provide an example for jmx. It is configured mainly in <SMARTIDHOME>/docker/compose/tools/datadog/conf.d/jmx.d/conf.yaml
It is configured to connect to idm-operator:5000 without ssl. This port is not listening by default, to enable it check <SMARTIDHOME>/docker/compose/identitymanager/operator/docker-compose.yml.
You can also setup ssl and authentication for this. As long as you know what containers you have running and don't adding a port mapping there shouldn't be an security issue by using it this way.
To provide an example of how to add additional attributes which are available as MBeans there is