-
Notifications
You must be signed in to change notification settings - Fork 129
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 Jetty Integration #320
Conversation
jmx-metrics/README.md
Outdated
@@ -68,6 +68,7 @@ mutually exclusive with `otel.jmx.groovy.script`. The currently supported target | |||
|
|||
| `otel.jmx.target.system` | | |||
|--------------------------| | |||
| [`jetty`](./docs/target-systems/jetty.md) | |
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.
It's not a great system, but we have jvm on top and external libs sorted below it.
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.
updated
.withNetworkAliases("jetty") | ||
.withExposedPorts(1099) | ||
.withStartupTimeout(Duration.ofMinutes(2)) | ||
.waitingFor(Wait.forListeningPort()); |
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 an informative log statement to wait for to help w/ potential flake?
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.
Added
...rationTest/java/io/opentelemetry/contrib/jmxmetrics/target_systems/JettyIntegrationTest.java
Outdated
Show resolved
Hide resolved
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.
One documentation nit, otherwise looks good to me
|
||
|
||
* Name: `jetty.thread.queue.count` | ||
* Description: The maximum amount of time a session has been active. |
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.
Looks like a copy-pasted description made it in.
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.
Fixed
@rmfitzpatrick Any chance you have some time to review this? |
Description:
Added Support for Jetty monitoring.
Testing:
Added Integration test for Jetty and updated supported tech tests.
Documentation:
Updated list of supported Tech.
Added Jetty doc.