docs(i18n): sync content/ja/docs/collector/architecture.md#9511
docs(i18n): sync content/ja/docs/collector/architecture.md#9511aki0000 wants to merge 1 commit intoopen-telemetry:mainfrom
Conversation
| traces: # パイプラインタイプ | ||
| receivers: [otlp, zipkin] | ||
| processors: [memory_limiter, batch] | ||
| processors: [memory_limiter] |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
- processors: [memory_limiter, batch]
+ processors: [memory_limiter]
| ``` | ||
|
|
||
| 前述の例では、2つのレシーバー、2つのプロセッサー、および2つのエクスポーターを備えたトレースタイプのテレメトリーデータのパイプラインを定義しています。 | ||
| 前述の例では、2つのレシーバー、1つのプロセッサー、および2つのエクスポーターを備えたトレースタイプのテレメトリーデータのパイプラインを定義しています。 |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
-with two receivers, two processors, and two exporters.
+with two receivers, one processor, and two exporters.
| traces: # "traces"タイプのパイプライン | ||
| receivers: [otlp] | ||
| processors: [memory_limiter, batch] | ||
| processors: [memory_limiter] |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
- processors: [memory_limiter, batch]
+ processors: [memory_limiter]
| > [!WARNING] | ||
| > | ||
| > 同じレシーバーが1つ以上のパイプラインで参照されている場合、コレクターは実行時にレシーバーを1つだけ作成し、データをファンアウトコンシューマーに送信します。 | ||
| > ファンアウトコンシューマーは、各パイプラインの最初のプロセッサーにデータを送信します。 | ||
| > レシーバーからファンアウトコンシューマー、そしてプロセッサーへのデータ伝搬は、同期関数の呼び出しによって完了します。 | ||
| > つまり、1つのプロセッサーが呼び出しをブロックすると、このレシーバーに接続されている他のパイプラインは同じデータの受信がブロックされ、レシーバー自身も新たに受信したデータの処理と転送を停止します。 |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
-{{% alert title="Important" color="warning" %}}
-
-When the same receiver is referenced in more than one pipeline, the Collector
-creates only one receiver instance at runtime that sends the data to a fan-out
-consumer. The fan-out consumer in turn sends the data to the first processor of
-each pipeline. The data propagation from receiver to the fan-out consumer and
-then to processors is completed using a synchronous function call. This means
-that if one processor blocks the call, the other pipelines attached to this
-receiver are blocked from receiving the same data, and the receiver itself stops
-processing and forwarding newly received data.
-
-{{% /alert %}}
+> [!WARNING]
+>
+> When the same receiver is referenced in more than one pipeline, the Collector
+> creates only one receiver instance at runtime that sends the data to a fan-out
+> consumer. The fan-out consumer in turn sends the data to the first processor
+> of each pipeline. The data propagation from receiver to the fan-out consumer
+> and then to processors is completed using a synchronous function call. This
+> means that if one processor blocks the call, the other pipelines attached to
+> this receiver are blocked from receiving the same data, and the receiver
+> itself stops processing and forwarding newly received data.
| たとえば、`batch` プロセッサーが複数のパイプラインで使用されている場合、各パイプラインには独自のバッチプロセッサーがありますが、構成内で同じキーを参照している場合は各バッチプロセッサーはまったく同じ方法で構成されます。 | ||
| たとえば、`transform` プロセッサーが複数のパイプラインで使用されている場合、各パイプラインには独自の変換プロセッサーがありますが、構成内で同じキーを参照している場合は各変換プロセッサーはまったく同じ方法で構成されます。 |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
-never shared between pipelines. For example, if `batch` processor is used in
-several pipelines, each pipeline has its own batch processor, but each batch
-processor is configured exactly the same way if they reference the same key in
-the configuration. See the following configuration:
+never shared between pipelines. For example, if the `transform` processor is
+used in several pipelines, each pipeline has its own transform processor, but
+each transform processor is configured exactly the same way if they reference
+the same key in the configuration. See the following configuration:
| ```yaml | ||
| processors: | ||
| batch: | ||
| send_batch_size: 10000 | ||
| timeout: 10s | ||
| transform: | ||
| error_mode: ignore | ||
| trace_statements: | ||
| - set(resource.attributes["namespace"], | ||
| resource.attributes["k8s.namespace.name"]) | ||
| - delete_key(resource.attributes, "k8s.namespace.name") | ||
|
|
||
| service: | ||
| pipelines: | ||
| traces: # "traces"タイプのパイプライン | ||
| traces: # a pipeline of “traces” type | ||
| receivers: [zipkin] | ||
| processors: [batch] | ||
| processors: [transform] | ||
| exporters: [otlp] | ||
| traces/2: # "traces"タイプの別のパイプライン | ||
| traces/2: # another pipeline of “traces” type | ||
| receivers: [otlp] | ||
| processors: [batch] | ||
| processors: [transform] | ||
| exporters: [otlp] | ||
| ``` |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
```yaml
processors:
- batch:
- send_batch_size: 10000
- timeout: 10s
+ transform:
+ error_mode: ignore
+ trace_statements:
+ - set(resource.attributes["namespace"],
+ resource.attributes["k8s.namespace.name"])
+ - delete_key(resource.attributes, "k8s.namespace.name")
service:
pipelines:
traces: # a pipeline of “traces” type
receivers: [zipkin]
- processors: [batch]
+ processors: [transform]
exporters: [otlp]
traces/2: # another pipeline of “traces” type
receivers: [otlp]
- processors: [batch]
+ processors: [transform]
exporters: [otlp]
015f2e8 to
2d425ca
Compare
2d425ca to
3d9d01d
Compare
| R1("`zipkin レシーバー`") --> P1["`#quot;batch#quot; プロセッサー`"] | ||
| R1("`zipkin レシーバー`") --> P1["`#quot;transform#quot; プロセッサー`"] |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
- R1("`zipkin Receiver`") --> P1["`#quot;batch#quot; Processor`"]
+ R1("`zipkin Receiver`") --> P1["`#quot;transform#quot; Processor`"]
| R1("`otlp レシーバー`") --> P1["`#quot;batch#quot; プロセッサー`"] | ||
| R1("`otlp レシーバー`") --> P1["`#quot;transform#quot; プロセッサー`"] |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
- R1("`otlp Receiver`") --> P1["`#quot;batch#quot; Processor`"]
+ R1("`otlp Receiver`") --> P1["`#quot;transform#quot; Processor`"]
| 各 `batch` プロセッサーは、`send_batch_size` が `10000` で同じように構成されていますが、独立したインスタンスであることに注意してください。 | ||
| 各 `transform` プロセッサーは、`send_batch_size` が `10000` で同じように構成されていますが、独立したインスタンスであることに注意してください。 |
There was a problem hiding this comment.
diff of org English markdown with 748555c22f43476291ae0c7974ca4a2577da0472
-Note that each `batch` processor is an independent instance, although they are
-configured the same way with a `send_batch_size` of `10000`.
+Note that each `transform` processor is an independent instance, although they
+are configured the same way with a `send_batch_size` of `10000`.
| weight: 28 | ||
| default_lang_commit: 748555c22f43476291ae0c7974ca4a2577da0472 | ||
| default_lang_commit: 714d6cc9c14f0cc2ef26397587388644b0e5d12f | ||
| drifted_from_default: true |
There was a problem hiding this comment.
ドリフトの修正いただいたときはこちらもあわせて削除お願い致します 🙇
| drifted_from_default: true |
English Page
https://opentelemetry.io/docs/collector/architecture/
Current ja Page
https://opentelemetry.io/ja/docs/collector/architecture/
Preview Page
https://deploy-preview-9511--opentelemetry.netlify.app/ja/docs/collector/architecture/
Could you review this PR ? Because I just saw this page at work.
Footnotes
Yes, I can answer maintainer questions about the content of this PR, without using AI. ↩