Skip to content
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

Update AppSignals configuration: 1) disable Logs exporter; 2) use http endpoint #94

Merged
merged 5 commits into from
Feb 28, 2024

Conversation

wangzlei
Copy link
Contributor

@wangzlei wangzlei commented Feb 21, 2024

Issue #, if available:

1. Disable OTel logs exporter

From OTel Java v2.0.0, the OTLP Logs exporter changes to default on.
Since AppSignals does not provide logs to customer, the current AppSignals configuration does not have logs endpoints. It causes the default on logs exporter prints an error log like "cannot create connection for logs exporter, xxxxx".
To ensure this error log does not distract customer, we will disable the log exporter explicitly by OTEL environment variable OTEL_LOGS_EXPORTER.

2. Use http endpoint instead of grpc

From March 2024, AppSignals java and python support transport protocol both http and grpc. Http is default in OTel spec so we use Http endpoints in operator.

The changes is for AppSignals EKS only. For ECS and EC2 customers we provide this configuration in user guide.

Description of changes:
set OTEL_LOGS_EXPORTER=none
set OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT=http://cloudwatch-agent.amazon-cloudwatch:4316/v1/metrics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wangzlei wangzlei changed the title disable SDK logs exporter by default Update AppSignals configuration: 1) disable Logs exporter; 2) use http endpoint Feb 23, 2024
@sky333999 sky333999 merged commit 2f0b66d into aws:main Feb 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants