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

Make log4j example easier to run against staging #455

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

alanwest
Copy link
Member

@alanwest alanwest commented Oct 4, 2023

@alanwest alanwest requested a review from a team October 4, 2023 18:10
@@ -36,15 +36,11 @@ The following image illustrates a similar example using FluentBit:
Next, build and run the application:

```shell
// Build the application
docker compose build
./gradlew logs-in-context-log4j2:bootJar
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this actually necessary?

@@ -7,6 +7,7 @@ services:
# Logs are forwarded to collector using fluentd
OTEL_LOGS_EXPORTER: none
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://collector:4317'
OTEL_EXPERIMENTAL_RESOURCE_DISABLED_KEYS: 'process.command_line,process.command_args'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example is broken without this

@alanwest alanwest merged commit 08f648a into main Oct 4, 2023
2 checks passed
@alanwest alanwest deleted the alanwest/stuff branch October 4, 2023 18:15
Copy link
Contributor

@jack-berg jack-berg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

keegoid-nr pushed a commit to keegoid-nr/newrelic-opentelemetry-examples that referenced this pull request Nov 24, 2023
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.

2 participants