To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.
To initiate an exception request to enable this integration for your organization, email [email protected].
概要
このチェックは、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
収集データ
メトリクス
| |
|---|
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 |
イベント
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 のサポートチームまでお問い合わせください。