- 重要な情報
- はじめに
- 用語集
- ガイド
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- Service Management
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Supported OS
Gearman のメトリクスを収集して、以下のことができます。
Gearman チェックは Datadog Agent パッケージに含まれています。サーバーに追加でインストールする必要はありません。
ホストで実行中の Agent に対してこのチェックを構成するには:
Gearman のパフォーマンスデータを収集するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/
フォルダーで gearmand.d/conf.yaml
ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションについては、サンプル gearmand.d/conf.yaml を参照してください。
init_config:
instances:
- server: localhost
port: 4730
コンテナ環境の場合は、オートディスカバリーのインテグレーションテンプレートのガイドを参照して、次のパラメーターを適用してください。
パラメーター | 値 |
---|---|
<インテグレーション名> | gearmand |
<初期コンフィギュレーション> | 空白または {} |
<インスタンスコンフィギュレーション> | {"server":"%%host%%", "port":"4730"} |
Datadog Agent で、ログの収集はデフォルトで無効になっています。以下のように、datadog.yaml
ファイルでこれを有効にします。
logs_enabled: true
Gearman ログの収集を開始するには、次のコンフィギュレーションブロックを gearmand.d/conf.yaml
ファイルに追加します。
logs:
- type: file
path: /var/log/gearmand.log
source: gearman
path
パラメーターの値を環境に合わせて変更します。使用可能なすべてのコンフィギュレーションオプションについては、gearmand.d/conf.yaml のサンプルを参照してください。
Kubernetes 環境でのログ収集のための Agent の構成については、Kubernetes のログ収集を参照してください。
Agent の status
サブコマンドを実行し、Checks セクションで gearmand
を探します。
gearman.unique_tasks (gauge) | The number of all functions registered with Gearman. Shown as task |
gearman.running (gauge) | The total number of running Gearman jobs. Shown as task |
gearman.queued (gauge) | The total number of jobs in the queue. Shown as task |
gearman.workers (gauge) | The total number of capable Gearman workers. Shown as process |
gearman.running_by_task (gauge) | The number of running Gearman jobs by task. Shown as task |
gearman.queued_by_task (gauge) | The number of jobs in the queue by task. Shown as task |
gearman.workers_by_task (gauge) | The number of capable Gearman workers by task. Shown as process |
Gearman チェックには、イベントは含まれません。
gearman.can_connect
Returns CRITICAL
if the Agent check is unable to connect to the monitored Gearman instance. Returns OK
otherwise.
Statuses: ok, critical
ご不明な点は、Datadog のサポートチームまでお問合せください。