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

add example for OTLP logging via stdout and k8s #547

Merged
merged 23 commits into from
Jan 8, 2025

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Dec 16, 2024

@zeitlinger zeitlinger self-assigned this Dec 16, 2024
@zeitlinger zeitlinger marked this pull request as ready for review December 18, 2024 13:29
@zeitlinger zeitlinger requested review from a team as code owners December 18, 2024 13:29
@zeitlinger
Copy link
Member Author

@trask can you take a look?

exporters: [ otlphttp/metrics ]
logs/raw_otlpjson:
receivers: [ filelog/otlp-json-logs ]
# (i) no need for processors before the otlpjson connector
Copy link
Member

Choose a reason for hiding this comment

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

what does (i) mean?

Copy link
Member Author

@zeitlinger zeitlinger Jan 6, 2025

Choose a reason for hiding this comment

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

removed

logging-k8s-stdout-otlp-json/k3d.sh Outdated Show resolved Hide resolved
logging-k8s-stdout-otlp-json/README.md Outdated Show resolved Hide resolved
logging-k8s-stdout-otlp-json/README.md Outdated Show resolved Hide resolved
.github/workflows/acceptance-tests.yml Outdated Show resolved Hide resolved
.github/workflows/acceptance-tests.yml Outdated Show resolved Hide resolved
.github/workflows/acceptance-tests.yml Outdated Show resolved Hide resolved
# renovate: datasource=github-releases depName=opentelemetry-java-instrumentation packageName=open-telemetry/opentelemetry-java-instrumentation
ENV OPENTELEMETRY_JAVA_INSTRUMENTATION_VERSION=v2.10.0

ADD build/libs/*SNAPSHOT.jar ./app.jar
Copy link
Member

Choose a reason for hiding this comment

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

what do you think about adding the ../gradlew assemble here, and then I think could remove it from (the global) run-acceptance-tests.sh file?

Copy link
Member Author

Choose a reason for hiding this comment

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

you'd need to copy the source files and gradle wrapper to do that - quite hard to understand

In detail: You need to copy all projects - or manipulate settings.gradle.kts to only include the one project we need

.github/renovate.json5 Show resolved Hide resolved
.github/scripts/run-acceptance-tests.sh Outdated Show resolved Hide resolved
@zeitlinger
Copy link
Member Author

@trask please check again

uses: actions/checkout@v4
with:
repository: grafana/oats
ref: bc2f08c5e55114234cece216290f1580a75a6032
Copy link
Member

Choose a reason for hiding this comment

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

is there a version tag that we can use instead? or are you using ref for more security. in which case let's put version tag in comment e.g.

Suggested change
ref: bc2f08c5e55114234cece216290f1580a75a6032
ref: bc2f08c5e55114234cece216290f1580a75a6032 # v0.1.0

Copy link
Member Author

Choose a reason for hiding this comment

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

changed to version

@zeitlinger
Copy link
Member Author

@trask please check again

@trask trask merged commit e561b7c into open-telemetry:main Jan 8, 2025
8 checks passed
@zeitlinger zeitlinger deleted the otlp-logging branch January 9, 2025 08:43
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.

3 participants