- 重要な情報
- はじめに
- 用語集
- ガイド
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- Service Management
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Supported OS
Gnatsd サービスからメトリクスをリアルタイムに取得して、以下のことができます。
Gnatsd チェックは Datadog Agent パッケージに含まれていないため、お客様自身でインストールする必要があります。
Agent v7.21 / v6.21 以降の場合は、下記の手順に従い Gnatsd チェックをホストにインストールします。Docker Agent または 上記バージョン以前の Agent でインストールする場合は、コミュニティインテグレーションの使用をご参照ください。
以下のコマンドを実行して、Agent インテグレーションをインストールします。
datadog-agent integration install -t datadog-gnatsd==<INTEGRATION_VERSION>
コアのインテグレーションと同様にインテグレーションを構成します。
Gnatsd メトリクスを収集するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/
フォルダーで gnatsd.d/conf.yaml
ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル gnatsd.d/conf.yaml を参照してください。
Agent の status サブコマンドを実行し、Checks セクションで gnatsd
を探します。
gnatsd チェックは、すべての主要プラットフォームと互換性があります。
gnatsd.connz.connections.in_bytes (count) | The number of bytes incoming Shown as byte |
gnatsd.connz.connections.in_msgs (count) | The number of messages received Shown as unit |
gnatsd.connz.connections.out_bytes (count) | The number of bytes outgoing Shown as byte |
gnatsd.connz.connections.out_msgs (count) | The number of messages sent Shown as unit |
gnatsd.connz.connections.pending_bytes (gauge) | The number of bytes pending ack on a subscription Shown as unit |
gnatsd.connz.connections.subscriptions (gauge) | The number of subscriptions on a connection Shown as unit |
gnatsd.connz.num_connections (gauge) | The number of current connections to the NATS broker Shown as unit |
gnatsd.connz.total (count) | The number of connections ever to the NATS broker Shown as unit |
gnatsd.routez.num_routes (gauge) | The number of routes in the cluster Shown as unit |
gnatsd.routez.routes.in_bytes (count) | The number of bytes incoming Shown as byte |
gnatsd.routez.routes.in_msgs (count) | The number of messages received Shown as unit |
gnatsd.routez.routes.out_bytes (count) | The number of bytes outgoing Shown as byte |
gnatsd.routez.routes.out_msgs (count) | The number of messages sent Shown as unit |
gnatsd.routez.routes.pending_bytes (gauge) | The number of bytes pending Shown as unit |
gnatsd.routez.routes.subscriptions (gauge) | The number of subscriptions on a connection Shown as unit |
gnatsd.varz.connections (gauge) | The number of connections to the NATS broker Shown as unit |
gnatsd.varz.in_bytes (count) | Amount of traffic sent into the cluster Shown as byte |
gnatsd.varz.in_msgs (count) | The number of messages passed into the cluster Shown as unit |
gnatsd.varz.mem (gauge) | Amount of memory currently used by the process Shown as byte |
gnatsd.varz.out_bytes (count) | Amount of traffic sent from the cluster Shown as byte |
gnatsd.varz.out_msg (count) | The number of messages sent out of the cluster Shown as unit |
gnatsd.varz.remotes (gauge) | The number of currently connected remotes Shown as unit |
gnatsd.varz.routes (gauge) | The number of current routes Shown as unit |
gnatsd.varz.slow_consumers (count) | The number of slow consumers ever connected Shown as unit |
gnatsd.varz.subscriptions (gauge) | The number of subscriptions currently handled Shown as unit |
注: カスタム Nats クラスター名を使用する場合、メトリクスは次のようになります。
gnatsd.connz.connections.cluster_name.in_msgs
gnatsd チェックには、イベントは含まれません。
gnatsd.can_connect
Returns CRITICAL
if the Agent can’t connect to the Gnastd endpoint, OK otherwise
Statuses: ok, critical
ご不明な点は、Datadog のサポートチームまでお問合せください。