-
Notifications
You must be signed in to change notification settings - Fork 452
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
[Chore] Add e2e test case for OpenTelemetry collector instance monitoring. #2246
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.
I like the test, thanks for submitting it.
But it's a bit long and complex. Could we split it into two separate test cases?
- Generate and send traces to Jaeger
- Enable monitoring and check that otel metrics are exposed via Prometheus
Your current test case does both, but they seem independent.
@swiatekm-sumo, thank you for your feedback. After investigation, I've found that when we run the system without a Traces store (Jaeger) and use the debug exporter, we encounter limitations in exposing certain metrics, especially those related to the queue. We have a few options to consider, and I'd like to hear your thoughts:
|
@IshwarKanse do we need Jaeger for this test? I would prefer to remove it and just check the metrics. The collector emits metrics that show how many spans were accepted/refused/dropped. We could also use the logging/debug exporter for traces if needed. |
@pavolloffay @swiatekm-sumo I'll update this test case to skip Jaeger. |
Which metrics aren't available with If you just want to generate some traffic, there's simpler ways to do that than telemetrygen as well. For example, you could just start a hostmetrics receiver. |
48ba516
to
70ecbd2
Compare
@pavolloffay @swiatekm-sumo updated the test case and removed dependency on Jaeger. |
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 fine to me, but think someone with more Openshift expertise should also approve before we merge.
Testing:
Add e2e test case for OpenTelemetry collector instance monitoring.