Skip to content

[v2] Configure healthcheck extension#5831

Merged
yurishkuro merged 21 commits intojaegertracing:mainfrom
Wise-Wizard:V2/Healthcheck_Extension
Aug 17, 2024
Merged

[v2] Configure healthcheck extension#5831
yurishkuro merged 21 commits intojaegertracing:mainfrom
Wise-Wizard:V2/Healthcheck_Extension

Conversation

@Wise-Wizard
Copy link
Copy Markdown
Contributor

@Wise-Wizard Wise-Wizard commented Aug 13, 2024

Which problem is this PR solving?

Part of #5633

Description of the changes

  • Integrate health check extension to monitor and report Jaeger V2 component's health
  • Enhance all-in-one CI test to ping the new health port

How was this change tested?

The changes were tested by running the following command:

make test
CI actions and new Unit Tests

Checklist

  • I have read CONTRIBUTING_GUIDELINES.md
  • I have signed all commits
  • I have added unit tests for the new functionality
  • I have run lint and test steps successfully
    • for jaeger: make lint test
    • for jaeger-ui: yarn lint and yarn test

Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
@Wise-Wizard Wise-Wizard requested a review from a team as a code owner August 13, 2024 05:22
@Wise-Wizard Wise-Wizard marked this pull request as draft August 13, 2024 05:22
@Wise-Wizard Wise-Wizard requested a review from yurishkuro August 14, 2024 08:12
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.81%. Comparing base (36c73ac) to head (565deaf).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5831   +/-   ##
=======================================
  Coverage   96.81%   96.81%           
=======================================
  Files         342      342           
  Lines       16522    16523    +1     
=======================================
+ Hits        15995    15996    +1     
  Misses        340      340           
  Partials      187      187           
Flag Coverage Δ
badger_v1 8.05% <ø> (ø)
badger_v2 1.81% <ø> (ø)
cassandra-3.x-v1 16.61% <ø> (ø)
cassandra-3.x-v2 1.74% <ø> (ø)
cassandra-4.x-v1 16.61% <ø> (ø)
cassandra-4.x-v2 1.74% <ø> (ø)
elasticsearch-6.x-v1 18.77% <ø> (-0.02%) ⬇️
elasticsearch-7.x-v1 18.84% <ø> (+0.01%) ⬆️
elasticsearch-8.x-v1 19.02% <ø> (ø)
elasticsearch-8.x-v2 1.80% <ø> (-0.02%) ⬇️
grpc_v1 9.52% <ø> (ø)
grpc_v2 7.14% <ø> (ø)
kafka-v1 9.74% <ø> (ø)
kafka-v2 1.81% <ø> (ø)
memory_v2 1.81% <ø> (ø)
opensearch-1.x-v1 18.88% <ø> (-0.02%) ⬇️
opensearch-2.x-v1 18.89% <ø> (ø)
opensearch-2.x-v2 1.80% <ø> (ø)
unittests 95.29% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro
Copy link
Copy Markdown
Member

how do we test it?

@yurishkuro yurishkuro added the changelog:experimental Change to an experimental part of the code label Aug 14, 2024
Wise-Wizard and others added 2 commits August 16, 2024 14:05
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
@Wise-Wizard
Copy link
Copy Markdown
Contributor Author

how do we test it?

Hi, so I need to skip the healthcheckV2 test, if it's the V1 binary that's executing it.
Is that possible?

Wise-Wizard and others added 4 commits August 17, 2024 01:43
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>
Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro marked this pull request as ready for review August 17, 2024 23:26
@dosubot dosubot bot added docker Pull requests that update Docker code go labels Aug 17, 2024
@yurishkuro yurishkuro enabled auto-merge (squash) August 17, 2024 23:27
@yurishkuro yurishkuro changed the title Configure healthcheck extension [v2] Configure healthcheck extension Aug 17, 2024
@yurishkuro yurishkuro disabled auto-merge August 17, 2024 23:33
@yurishkuro yurishkuro merged commit 4e6c510 into jaegertracing:main Aug 17, 2024
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 28, 2024
**Which problem is this PR solving?**

Part of jaegertracing#5633

**Description of the changes**
* Integrate health check extension to monitor and report Jaeger V2
component's health
* Enhance all-in-one CI test to ping the new health port

**How was this change tested?**

The changes were tested by running the following command:

```bash
make test
```
```bash
CI actions and new Unit Tests
```
**Checklist**

- [x] I have read
[CONTRIBUTING_GUIDELINES.md](https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md)
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - `for jaeger: make lint test`
  - `for jaeger-ui: yarn lint` and `yarn test`

---------

Signed-off-by: Wise-Wizard <saransh.shankar@gmail.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/otel changelog:experimental Change to an experimental part of the code docker Pull requests that update Docker code v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants