Versión de la integración1.0.0
This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project,
feel free to reach out to us!Overview
This check monitors Resin through the Datadog Agent.
Setup
Installation
The Resin check is not included in the Datadog Agent package, so you need to install it.
Configuration
- Configure the resin default server to enable JMX by adding the following JVM arguments:
<server-default>
<jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
<jvm-arg>-Dcom.sun.management.jmxremote.port=7199</jvm-arg>
</server-default>
Edit the resin.d/conf.yaml
file in the conf.d/
folder at the root of your Agent’s configuration directory to start collecting your resin performance data. See the resin.d/conf.yaml example for all available configuration options.
Restart the Agent.
Validation
Run the Agent’s status subcommand and look for resin
under the Checks section.
Log collection
Enable logs collection for Datadog Agent in /etc/datadog-agent/datadog.yaml
on Linux platforms. On other platforms, see the Agent Configuration Files guide for the location of your configuration file:
- Enable this configuration block to your
resin.d/conf.yaml
file to start collecting Logs:logs:
- type: file
path: /var/opt/resin/log/*.log
source: resin
Data Collected
Metrics
resin.connection_pool.connection_count (gauge) | The current connection count for a particular connection pool Shown as connection |
resin.connection_pool.connection_active_count (gauge) | The active connection count for a particular connection pool Shown as connection |
resin.connection_pool.connection_idle_count (gauge) | The idle connection count for a particular connection pool Shown as connection |
resin.connection_pool.connection_create_count (gauge) | The number of connections created for a particular connection pool Shown as connection |
resin.connection_pool.max_connections (gauge) | The max number of connections allowed for a particular connection pool Shown as connection |
resin.connection_pool.max_overflow_connections (gauge) | The max number of overflow connections allowed for a particular connection pool Shown as connection |
resin.connection_pool.max_create_connections (gauge) | The max number of connections allowed to be created at one time for a particular connection pool Shown as connection |
resin.thread_pool.thread_active_count (gauge) | The number of active threads Shown as thread |
resin.thread_pool.thread_count (gauge) | The number of threads Shown as thread |
resin.thread_pool.thread_idle_count (gauge) | The number of idle threads Shown as thread |
resin.thread_pool.thread_max (gauge) | The max number of threads Shown as thread |
resin.thread_pool.thread_wait_count (gauge) | The number of waiting threads Shown as thread |
Events
Resin does not include any events.
Service Checks
resin.can_connect
Returns CRITICAL
if the Agent is unable to connect to and collect metrics from the monitored Resin instance. Returns OK
otherwise.
Statuses: ok, critical
Troubleshooting
Need help? Contact Datadog support.