-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ja] Add content/ja/docs/demo/collector-data-flow-dashboard/index.md #6353
Open
tk3fftk
wants to merge
4
commits into
open-telemetry:main
Choose a base branch
from
tk3fftk:ja/docs/demo/collector-data-flow-dashboard
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+82
−0
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
568e296
[ja] Add OpenTelemetry Collector Data Flow Dashboard documentation
tk3fftk 90d5c37
Merge branch 'main' into ja/docs/demo/collector-data-flow-dashboard
tk3fftk 034751e
Fix wording for clarity in Collector Data Flow Dashboard documentation
tk3fftk 7a400f4
fix(ja): Update terminology about ingress/egress in Collector Data Fl…
tk3fftk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
82 changes: 82 additions & 0 deletions
82
content/ja/docs/demo/collector-data-flow-dashboard/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
title: コレクターデータフローダッシュボード | ||
default_lang_commit: fd7da211d5bc37ca93112a494aaf6a94445e2e28 | ||
--- | ||
|
||
OpenTelemetryコレクターを通じてデータフローを監視することは、いくつかの重要な理由があります。サンプル数やカーディナリティなど、入力されるデータのマクロレベルの視点を得ることは、コレクターの内部動作を理解する上で不可欠です。しかし、詳細に踏み込むと、相互接続が複雑になる可能性があります。コレクターデータフローダッシュボードは、OpenTelemetryデモアプリケーションの機能を示すことを目的としており、ユーザーが構築するための基盤を提供します。 | ||
|
||
コレクターデータフローダッシュボードは、監視すべきメトリクスについて重要なガイダンスを提供します。ユーザーは、memory_delimiterプロセッサーやその他のデータフロー指標など、自身のユースケースに合わせた必要なメトリクスを追加することで、独自のダッシュボードを作成できます。デモダッシュボードは出発点として機能し、ユーザーが多様な利用シナリオを探索し、独自の監視ニーズに合わせてツールを適応させることを可能にします。 | ||
|
||
## データフローの概要 | ||
|
||
以下の図は、システムコンポーネントの概要を示しており、OpenTelemetryデモアプリケーションで使用されているOpenTelemetryコレクター(otelcol)設定ファイルから導き出された構成を示しています。さらに、システム内のオブザーバビリティデータ(トレースとメトリクス)の流れを強調しています。 | ||
|
||
 | ||
|
||
## イングレスとエグレスのメトリクス | ||
|
||
以下の図に示されているメトリクスは、イングレスとエグレスの両方のデータフローを監視するために使用されています。これらのメトリクスはotelcolプロセスによって生成され、ポート8888でエクスポートされ、その後Prometheusによってスクレイピングされます。これらのメトリクスに関連するネームスペースは "otelcol" であり、ジョブ名は `otel` とラベル付けされています。 | ||
|
||
 | ||
|
||
ラベルは、特定のメトリクスセット(エクスポーター、レシーバー、またはジョブなど)を識別するための有用なツールとして機能し、ネームスペース全体の中からメトリクスセットを区別できるようにします。重要な点として、memory_delimiterプロセッサーで定義されているメモリ制限を超えた場合にのみ、拒否された(refused)メトリクスに遭遇することになります。 | ||
|
||
### トレースパイプラインのイングレスに関するメトリクス | ||
|
||
- `otelcol_receiver_accepted_spans` | ||
- `otelcol_receiver_refused_spans` | ||
- `by (receiver,transport)` | ||
|
||
### メトリクスパイプラインのイングレスに関するメトリクス | ||
|
||
- `otelcol_receiver_accepted_metric_points` | ||
- `otelcol_receiver_refused_metric_points` | ||
- `by (receiver,transport)` | ||
|
||
### プロセッサーに関するメトリクス | ||
|
||
現在、デモアプリケーションに存在する唯一のプロセッサーはバッチプロセッサーであり、これはトレースとメトリクスの両方のパイプラインで使用されています。 | ||
|
||
- `otelcol_processor_batch_batch_send_size_sum` | ||
|
||
### トレースパイプラインのエグレスに関するメトリクス | ||
|
||
- `otelcol_exporter_sent_spans` | ||
- `otelcol_exporter_send_failed_spans` | ||
- `by (exporter)` | ||
|
||
### メトリクスパイプラインのエグレスに関するメトリクス | ||
|
||
- `otelcol_exporter_sent_metric_points` | ||
- `otelcol_exporter_send_failed_metric_points` | ||
- `by (exporter)` | ||
|
||
### Prometheusのスクレイピングに関するメトリクス | ||
|
||
- `scrape_samples_scraped` | ||
- `by (job)` | ||
|
||
## ダッシュボード | ||
|
||
Grafana UIにアクセスし、画面左側のブラウズアイコンから**OpenTelemetry Collector Data Flow** ダッシュボードを選択することで、ダッシュボードにアクセスできます。 | ||
|
||
 | ||
|
||
ダッシュボードは4つのセクションから構成されています。 | ||
|
||
1. プロセスメトリクス | ||
2. トレースパイプライン | ||
3. メトリクスパイプライン | ||
4. Prometheusスクレイピング | ||
|
||
セクション 2, 3, 4 は上述のメトリクスを使用してデータフロー全体を示しています。さらに、データフローを理解するために、各パイプラインのエクスポート比率が計算されています。 | ||
|
||
### エクスポート比率 | ||
|
||
エクスポート比率は、基本的にレシーバーメトリクスとエクスポーターメトリクスの比率です。上記のダッシュボードのスクリーンショットで、メトリクスのエクスポート比率が受信したメトリクスよりもはるかに高いことに気づくでしょう。これは、デモアプリケーションがスパンメトリクスを生成するように設定されているためです。スパンメトリクスは、概要図に示されているように、コレクター内のスパンからメトリクスを生成するプロセッサーです。 | ||
|
||
### プロセスメトリクス | ||
|
||
非常に限定的ではありますが、有益なプロセスメトリクスがダッシュボードに追加されています。たとえば、再起動時やそれに類似した状況で、システム上で1を超える数のotelcolインスタンスが実行されているのを観測することがあるかもしれません。これは、データフローのスパイクを理解する際に役立つ可能性があります。 | ||
|
||
 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
カタカナにしただけで問題ないか確認お願いします 🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
問題ないです!