翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
このOpenTelemetry 設定ファイル
次の点に注意してください:
-
endpoint
の値にはパイプラインエンドポイントを含める必要があります。例えば、https://
と指定します。pipeline-endpoint
.us-east-1.osis.amazonaws.com -
service
の値はosis
にする必要があります。 -
OTLP/HTTP エクスポーターの
compression
オプションは、パイプラインの OpenTelemetry ソースのcompression
オプションと一致する必要があります。
extensions:
sigv4auth:
region: "us-east-1
"
service: "osis"
receivers:
jaeger:
protocols:
grpc:
exporters:
otlphttp:
traces_endpoint: "https://pipeline-endpoint
.us-east-1
.osis.amazonaws.com/v1/traces"
auth:
authenticator: sigv4auth
compression: none
service:
extensions: [sigv4auth]
pipelines:
traces:
receivers: [jaeger]
exporters: [otlphttp]
そして、OTel トレース
version: "2"
otel-trace-pipeline:
source:
otel_trace_source:
path: "/v1/traces"
processor:
- trace_peer_forwarder:
sink:
- pipeline:
name: "trace-pipeline"
- pipeline:
name: "service-map-pipeline"
trace-pipeline:
source:
pipeline:
name: "otel-trace-pipeline"
processor:
- otel_traces:
sink:
- opensearch:
hosts: ["https://search-domain-endpoint
.us-east-1
.es.amazonaws.com"]
index_type: trace-analytics-raw
aws:
# IAM role that OpenSearch Ingestion assumes to access the domain sink
sts_role_arn: "arn:aws:iam::{account-id}
:role/pipeline-role
"
region: "us-east-1
"
service-map-pipeline:
source:
pipeline:
name: "otel-trace-pipeline"
processor:
- service_map:
sink:
- opensearch:
hosts: ["https://search-domain-endpoint
.us-east-1
.es.amazonaws.com"]
index_type: trace-analytics-service-map
aws:
# IAM role that the pipeline assumes to access the domain sink
sts_role_arn: "arn:aws:iam::{account-id}
:role/pipeline-role
"
region: "us-east-1
"
パイプラインの別の例については、「事前設定済みトレース分析のブループリント」を参照してください。詳細については、「ブループリントを使用したパイプラインの作成」を参照してください。