-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Configure OTEL Collector to observe Internal Telemetry #5752
Configure OTEL Collector to observe Internal Telemetry #5752
Conversation
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
How does doing that demonstrate that the changes result in desired behavior? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5752 +/- ##
=======================================
Coverage 96.66% 96.66%
=======================================
Files 342 342
Lines 16515 16519 +4
=======================================
+ Hits 15964 15968 +4
Misses 362 362
Partials 189 189
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
It dosen't, just created a PR to check for github actions |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
@yurishkuro I think I have configured the tracer successfully as now when I am passing telset.TracerProvider instead of jTracer in Jaeger Query, the tests aren't failing anymore. |
Can you provide evidence that the changes are working? Just passing CI only means it didn't break things, but we don't explicitly test for internally generated traces (we should , it would be a good e2e test, e.g. as part of all-in-one e2e we could check that the internal traces are generated for API queries) |
When I had configured telset with OTEL.TracerProvider instead of JTracer without any changes in configuration of yaml file the all-in-one V2 test getAPITrace fails because I think a no-op tracer is being provided but after the changes in the configuration file the test seems to be passing. |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Yes, the screenshot was just a small evidence. |
How did you compare them all? |
I just compared the names of the metrics side by side. |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Can we use something like this instead? https://github.com/prometheus/prom2json |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Hi, I have created a tmp folder and added JSON file for each using prom2Json. |
We don't need to see the actual json files, but their diffs. Any thoughts on how to compare them? We don't care about the values, only names and labels. There are probably json diffing tools. |
Ok, will research about that and look for some tool to see the differences. |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Hi, so I wrote a Python script to read the difference in metrics names in both the files and written the differences in names in difference.json file for comparison. |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
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 would like to merge this PR. The following changes are needed:
- commit your metrics comparison script
- remove differences.json
- fix unit test
Will do the changes |
Signed-off-by: Saransh Shankar <103821431+Wise-Wizard@users.noreply.github.com>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
make sure to get the CI green, you have unit test failures, and I see new linter failures |
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Done. |
Which problem is this PR solving?
This PR addresses a part of the issue #5633
Description of the changes
This is a Draft PR to achieve Observability Parity between V1 and V2 components by configuring OTEL Collector config files to initialise internal tracer and metrics
How was this change tested?
The changes were tested by running the following command:
make test
Checklist
for jaeger: make lint test
for jaeger-ui: yarn lint
andyarn test