Supported OS Linux Windows Mac OS

インテグレーションバージョン1.0.0

概要

gnatsd_streaming サービスからメトリクスをリアルタイムに取得して、以下のことができます。

  • gnatsd_streaming の状態を視覚化および監視できます。
  • gnatsd_streaming のフェイルオーバーとイベントの通知を受けることができます。

計画と使用

gnatsd_streaming チェックは Datadog Agent パッケージに含まれていないため、お客様自身でインストールする必要があります。

インフラストラクチャーリスト

Agent v7.21 / v6.21 以降の場合は、下記の手順に従い gnatsd_streaming チェックをホストにインストールします。Docker Agent または 上記バージョン以前の Agent でインストールする場合は、コミュニティインテグレーションの使用をご参照ください。

  1. 以下のコマンドを実行して、Agent インテグレーションをインストールします。

    datadog-agent integration install -t datadog-gnatsd_streaming==<INTEGRATION_VERSION>
    
  2. コアのインテグレーションと同様にインテグレーションを構成します。

ブラウザトラブルシューティング

  1. GnatsD のストリーミングメトリクスの収集を開始するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの gnatsd_streaming.d/conf.yaml ファイルを編集します。 使用可能なすべてのコンフィギュレーションオプションの詳細については、サンプル gnatsd_streaming.d/conf.yaml を参照してください。

  2. Agent を再起動します

検証

Agent の status サブコマンドを実行し、Checks セクションで gnatsd_streaming を探します。

互換性

gnatsd_streaming チェックは、すべての主要プラットフォームと互換性があります。

リアルユーザーモニタリング

データセキュリティ

gnatsd.streaming.serverz.clients
(gauge)
The number of currently connectied clients
Shown as unit
gnatsd.streaming.serverz.subscriptions
(count)
The number of subscriptions the server has handled
Shown as unit
gnatsd.streaming.serverz.channels
(gauge)
The number of currently active channels
Shown as unit
gnatsd.streaming.serverz.total_msgs
(count)
The total number of messages passed through the server
Shown as unit
gnatsd.streaming.serverz.total_bytes
(count)
The total number of bytes passed through the server
Shown as byte
gnatsd.streaming.storez.total_msgs
(count)
The total number of messages passed through the store
Shown as unit
gnatsd.streaming.storez.total_bytes
(count)
The total number of bytes passed through the store
Shown as byte
gnatsd.streaming.clientsz.total
(gauge)
The number of clients connected
Shown as unit
gnatsd.streaming.channelsz.total
(gauge)
The number of channels open
Shown as unit
gnatsd.streaming.channelsz.msgs
(count)
The total count of messages in a channel
Shown as unit
gnatsd.streaming.channelsz.bytes
(count)
The total bytes of messages in a channel
Shown as byte

Nats ストリーミングサーバーのメトリクスは、“nss-cluster_id” のような名前でタグ付けされます。

ヘルプ

Nats ストリーミングサーバーをフォールトトレラントグループ内で実行している場合、サーバーのステータスが FT_STANDBYFT_ACTIVE の間で切り替わると、Nats ストリーミングフェイルオーバーイベントが発行されます。

ヘルプ

gnatsd_streaming.can_connect
Returns CRITICAL if the Agent can’t connect to the Gnastd Streaming endpoint, OK otherwise
Statuses: ok, critical

ヘルプ

ご不明な点は、Datadog のサポートチームまでお問合せください。