このチェックは、Datadog Agent を通じて Resin を監視します。
Resin チェックは Datadog Agent パッケージに含まれていないため、お客様自身でインストールする必要があります。
以下の JVM 引数を追加して Resin のデフォルトサーバー を構成し、JMX を有効にします。 <server-default>
<jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
<jvm-arg>-Dcom.sun.management.jmxremote.port=7199</jvm-arg>
</server-default>
Resin のパフォーマンスデータの収集を開始するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/
フォルダーの resin.d/conf.yaml
ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションの詳細については、resin.d/conf.yaml の例 を参照してください。
Agent を再起動します 。
Agent の status サブコマンドを実行 し、Checks セクションで resin
を探します。
Linux プラットフォームの場合は、/etc/datadog-agent/datadog.yaml
で Datadog Agent のログ収集を有効にします。その他のプラットフォームの場合は、Agent コンフィギュレーションファイルガイド を参照し、コンフィギュレーションファイルの場所を調べてください。
ログの収集を開始するには、次のコンフィギュレーションブロックを resin.d/conf.yaml
ファイルに対して有効化します。logs :
- type : file
path : /var/opt/resin/log/*.log
source : resin
Copy
resin.connection_pool.connection_count (gauge)The current connection count for a particular connection poolShown as connection resin.connection_pool.connection_active_count (gauge)The active connection count for a particular connection poolShown as connection resin.connection_pool.connection_idle_count (gauge)The idle connection count for a particular connection poolShown as connection resin.connection_pool.connection_create_count (gauge)The number of connections created for a particular connection poolShown as connection resin.connection_pool.max_connections (gauge)The max number of connections allowed for a particular connection poolShown as connection resin.connection_pool.max_overflow_connections (gauge)The max number of overflow connections allowed for a particular connection poolShown 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 poolShown as connection resin.thread_pool.thread_active_count (gauge)The number of active threadsShown as thread resin.thread_pool.thread_count (gauge)The number of threadsShown as thread resin.thread_pool.thread_idle_count (gauge)The number of idle threadsShown as thread resin.thread_pool.thread_max (gauge)The max number of threadsShown as thread resin.thread_pool.thread_wait_count (gauge)The number of waiting threadsShown as thread
Resin には、イベントは含まれません。
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
ご不明な点は、Datadog のサポートチーム までお問い合わせください。