Skip to content

Commit 72d557f

Browse files
committed
TRACING-5677: RHOSDT 3.8, OTEL googlecloud exporter
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
1 parent 58a4dd4 commit 72d557f

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//Module included in the following assemblies:
2+
//
3+
// * observability/otel/otel-forwarding-data.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="otel-forwarding-data-to-googlecloud_{context}"]
7+
= Forwarding telemetry data to AWS
8+
9+
You can deploy the OpenTelemetry Collector to forward metrics, logs and traces to the AWS CloudWatch and X-Ray.
10+
11+
TODO Add link to the AWF CloudWatch, EMF and X-Ray exporter from the collector configuration page.

observability/otel/otel-collector/otel-collector-exporters.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,15 @@ include::snippets/technology-preview.adoc[]
311311
region: <aws_region_of_log_stream> # <3>
312312
endpoint: <protocol><service_endpoint_of_amazon_cloudwatch_logs> # <4>
313313
log_retention: <supported_value_in_days> # <5>
314+
role_arn: "<iam_role>" # <6>
314315
# ...
315316
----
316317
<1> Required. If the log group does not exist yet, it is automatically created.
317318
<2> Required. If the log stream does not exist yet, it is automatically created.
318319
<3> Optional. If the AWS region is not already set in the default credential chain, you must specify it.
319320
<4> Optional. You can override the default Amazon CloudWatch Logs service endpoint to which the requests are forwarded. You must include the protocol, such as `https://`, as part of the endpoint value. For the list of service endpoints by region, see link:https://docs.aws.amazon.com/general/latest/gr/cwl_region.html[Amazon CloudWatch Logs endpoints and quotas] (AWS General Reference).
320321
<5> Optional. With this parameter, you can set the log retention policy for new Amazon CloudWatch log groups. If this parameter is omitted or set to `0`, the logs never expire by default. Supported values for retention in days are `1`, `3`, `5`, `7`, `14`, `30`, `60`, `90`, `120`, `150`, `180`, `365`, `400`, `545`, `731`, `1827`, `2192`, `2557`, `2922`, `3288`, or `3653`.
322+
<6> Optional. The AWS Identity and Access Management (IAM) role for uploading the X-Ray segments to a different account.
321323

322324
[role="_additional-resources"]
323325
.Additional resources
@@ -357,6 +359,7 @@ include::snippets/technology-preview.adoc[]
357359
endpoint: <protocol><endpoint> # <5>
358360
log_retention: <supported_value_in_days> # <6>
359361
namespace: <custom_namespace> # <7>
362+
role_arn: "<iam_role>" # <8>
360363
# ...
361364
----
362365
<1> Customized log group name.
@@ -366,6 +369,7 @@ include::snippets/technology-preview.adoc[]
366369
<5> Optional. You can override the default Amazon CloudWatch Logs service endpoint to which the requests are forwarded. You must include the protocol, such as `https://`, as part of the endpoint value. For the list of service endpoints by region, see link:https://docs.aws.amazon.com/general/latest/gr/cwl_region.html[Amazon CloudWatch Logs endpoints and quotas] (AWS General Reference).
367370
<6> Optional. With this parameter, you can set the log retention policy for new Amazon CloudWatch log groups. If this parameter is omitted or set to `0`, the logs never expire by default. Supported values for retention in days are `1`, `3`, `5`, `7`, `14`, `30`, `60`, `90`, `120`, `150`, `180`, `365`, `400`, `545`, `731`, `1827`, `2192`, `2557`, `2922`, `3288`, or `3653`.
368371
<7> Optional. A custom namespace for the Amazon CloudWatch metrics.
372+
<8> Optional. The AWS Identity and Access Management (IAM) role for uploading the X-Ray segments to a different account.
369373

370374
[discrete]
371375
[id="log-group-name_{context}"]

observability/otel/otel-forwarding-telemetry-data.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ include::modules/otel-forwarding-traces.adoc[leveloffset=+1]
1313
include::modules/otel-forwarding-logs-to-tempostack.adoc[leveloffset=+1]
1414

1515
include::modules/otel-forwarding-data-to-googlecloud.adoc[leveloffset=+1]
16+
17+
include::modules/otel-forwarding-data-to-aws.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)