-
Notifications
You must be signed in to change notification settings - Fork 128
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
Conversation
logging-k8s-stdout-otlp-json/otel-collector-otlpjson-pipeline.png
Outdated
Show resolved
Hide resolved
logging-k8s-stdout-otlp-json/otel-collector-otlpjson-pipeline.png
Outdated
Show resolved
Hide resolved
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does (i) mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
# 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Co-authored-by: Trask Stalnaker <[email protected]>
Co-authored-by: Trask Stalnaker <[email protected]>
@trask please check again |
.github/workflows/oats-tests.yml
Outdated
uses: actions/checkout@v4 | ||
with: | ||
repository: grafana/oats | ||
ref: bc2f08c5e55114234cece216290f1580a75a6032 |
There was a problem hiding this comment.
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.
ref: bc2f08c5e55114234cece216290f1580a75a6032 | |
ref: bc2f08c5e55114234cece216290f1580a75a6032 # v0.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to version
@trask please check again |
Relates open-telemetry/opentelemetry.io#5754