-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Enable Quarkus Observability Dev Services with Grafana LGTM in OpenTelemetry Quickstart #1467
Conversation
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.
Hi @jcarranzan.
Thanks for the PR but we must not mix Micrometer related dependencies into the OpenTelemetry Quickstart.
I have 2 suggestions:
- Use OpenTelemetry Metrics instead
- Create a new Observability Quickstart that includes both OpenTelemetry and Micrometer.
We should probably have both, but in the context of this PR I recommend the first one.
opentelemetry-quickstart/src/main/java/org/acme/opentelemetry/TracedResource.java
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
b628cea
to
d68cc83
Compare
This comment has been minimized.
This comment has been minimized.
opentelemetry-quickstart/src/main/java/org/acme/opentelemetry/TracedResource.java
Outdated
Show resolved
Hide resolved
opentelemetry-quickstart/src/main/java/org/acme/opentelemetry/TracedResource.java
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
opentelemetry-quickstart/src/main/java/org/acme/opentelemetry/TracedResource.java
Show resolved
Hide resolved
3eb6b48
to
8b004d0
Compare
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.
Almost there. Thanks for the effort.
opentelemetry-quickstart/src/main/java/org/acme/opentelemetry/TracedResource.java
Outdated
Show resolved
Hide resolved
opentelemetry-quickstart/src/main/java/org/acme/opentelemetry/TracedResource.java
Outdated
Show resolved
Hide resolved
opentelemetry-quickstart/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
opentelemetry-quickstart/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3243e47
to
9442511
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
opentelemetry-quickstart/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
3deb443
to
acb991f
Compare
@jcarranzan Do you think you can update the Readme, explaining that metrics must be enabled and that the user can use the LGTM devservice to see the telemetry? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
d0ff35b
to
db74c8e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Did manual tests... Native tests fails because the devservice starts while running the native mode tests. I'm checking it with @alesj |
I guess you need to add
to the IT test. |
@alesj, but It happened to me on a mac... |
It's fixed in my PR (#44158), waiting on @brunobat to merge it. |
@brunobat could it be merged to have this tested and verified? |
@jcarranzan quarkusio/quarkus#44158 still has unresolved issues. Will not be merged this week. |
quarkusio/quarkus#44158 is about integration tests changes, how does it relate to this PR @brunobat ? |
Because native mode tests are broken when the Grafana LGTM extension is in the classpath. We were not testing that and the PR fixes it. We need that fix to pass the native mode tests in the Quickstart. |
I am asking just out of interested, this is not matter of pushing this forward. I simply don't understand this answer. I look at POM file used by this PR https://github.com/quarkusio/quarkus-quickstarts/blob/db74c8e9a2adf07ad3e00949ce919c33a3ed3f2c/opentelemetry-quickstart/pom.xml and then I check PR you linked quarkusio/quarkus#44158 which is only in |
You are right, @michalvavrik. The fact that native was broken on the Quarkus repo diverted my attention from the main issue here. Please check my comment above, it will unlock the PR. |
34879ed
to
45b0321
Compare
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.
Thanks for the PR and patience @jcarranzan.
The users will benefit from this update.
This comment has been minimized.
This comment has been minimized.
Status for workflow
|
Resolve the issue that we discussed here: https://issues.redhat.com/browse/QUARKUS-4186
I am adding support for automatic metrics and tracing in development mode.
Check list:
Your pull request:
development
branch999-SNAPSHOT
version of Quarkusmvn clean test
)mvn clean package -Pnative
)mvn clean verify -Pnative
)README.md
file (with build and run instructions)pom.xml
andREADME.md