Skip to content
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

Use jaeger-v2 by default in Hotrod and Monitor examples #6523

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

zzzk1
Copy link
Contributor

@zzzk1 zzzk1 commented Jan 11, 2025

Which problem is this PR solving?

Description of the changes

  • Rename docker-compose.yml to docker-compose-v1.yml
  • update reference: script, doc, github actions, makefile

How was this change tested?

Checklist

@zzzk1 zzzk1 requested a review from a team as a code owner January 11, 2025 10:48
@zzzk1 zzzk1 requested a review from joe-elliott January 11, 2025 10:48
@dosubot dosubot bot added the docker Pull requests that update Docker code label Jan 11, 2025
@zzzk1 zzzk1 force-pushed the docker-compose-v2 branch 2 times, most recently from e9b8615 to ff0faea Compare January 11, 2025 10:53
Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.21%. Comparing base (441c274) to head (034b682).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6523      +/-   ##
==========================================
- Coverage   96.23%   96.21%   -0.03%     
==========================================
  Files         372      372              
  Lines       21360    21360              
==========================================
- Hits        20556    20551       -5     
- Misses        612      616       +4     
- Partials      192      193       +1     
Flag Coverage Δ
badger_v1 10.65% <ø> (ø)
badger_v2 2.78% <ø> (ø)
cassandra-4.x-v1-manual 16.55% <ø> (ø)
cassandra-4.x-v2-auto 2.71% <ø> (ø)
cassandra-4.x-v2-manual 2.71% <ø> (ø)
cassandra-5.x-v1-manual 16.55% <ø> (ø)
cassandra-5.x-v2-auto 2.71% <ø> (ø)
cassandra-5.x-v2-manual 2.71% <ø> (ø)
elasticsearch-6.x-v1 20.23% <ø> (+<0.01%) ⬆️
elasticsearch-7.x-v1 20.30% <ø> (ø)
elasticsearch-8.x-v1 20.46% <ø> (+<0.01%) ⬆️
elasticsearch-8.x-v2 2.87% <ø> (+0.10%) ⬆️
grpc_v1 12.18% <ø> (ø)
grpc_v2 9.04% <ø> (ø)
kafka-3.x-v1 10.34% <ø> (ø)
kafka-3.x-v2 2.78% <ø> (ø)
memory_v2 2.78% <ø> (ø)
opensearch-1.x-v1 20.34% <ø> (ø)
opensearch-2.x-v1 20.35% <ø> (+<0.01%) ⬆️
opensearch-2.x-v2 2.78% <ø> (+<0.01%) ⬆️
tailsampling-processor 0.51% <ø> (ø)
unittests 95.09% <ø> (-0.03%) ⬇️

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.

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good start.

@@ -20,7 +20,7 @@ build: clean-jaeger
.PHONY: dev
dev: export JAEGER_IMAGE_TAG = dev
dev:
docker compose -f docker-compose.yml up $(DOCKER_COMPOSE_ARGS)
docker compose -f docker-compose-v1.yml up $(DOCKER_COMPOSE_ARGS)

.PHONY: dev-v2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change the target names accordingly? And the readme.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the document and make v2 as the default in the Makefile.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then this target needs to be renamed dev-v1

@@ -126,7 +126,7 @@ to emit traces to the OpenTelemetry Collector which, in turn, will aggregate the

Start the local stack needed for SPM, if not already done:
```shell
docker compose up
docker compose -f docker-compose-v2.yml up
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The v2 files need to be renamed just docker-compose, so that the user is not required to specify them on the command line.

@zzzk1 zzzk1 force-pushed the docker-compose-v2 branch from 8546cb9 to 9327ead Compare January 13, 2025 02:27
@zzzk1 zzzk1 force-pushed the docker-compose-v2 branch from 9327ead to fb8b9e4 Compare January 13, 2025 02:56
Signed-off-by: zzzk1 <[email protected]>
@zzzk1 zzzk1 force-pushed the docker-compose-v2 branch from fb8b9e4 to 80c02ab Compare January 13, 2025 03:06
@@ -20,7 +20,7 @@ build: clean-jaeger
.PHONY: dev
dev: export JAEGER_IMAGE_TAG = dev
dev:
docker compose -f docker-compose.yml up $(DOCKER_COMPOSE_ARGS)
docker compose -f docker-compose-v1.yml up $(DOCKER_COMPOSE_ARGS)

.PHONY: dev-v2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then this target needs to be renamed dev-v1

Signed-off-by: zzzk1 <[email protected]>
@yurishkuro yurishkuro changed the title [Enhancement] Hotrod and Monitor Use Docker Compose V2 as Default Use jaeger-v2 by default in Hotrod and Monitor examples Jan 13, 2025
@yurishkuro yurishkuro enabled auto-merge (squash) January 13, 2025 05:08
@yurishkuro yurishkuro merged commit 5ccbc2d into jaegertracing:main Jan 13, 2025
54 checks passed
jyoungs added a commit to jyoungs/jaeger that referenced this pull request Jan 13, 2025
These links are currently broken. I didn't actually test these commands, but jaegertracing#6523 looks like a simple rename, so might be fine. 

Signed-off-by: Jeff Youngs <[email protected]>
@jyoungs jyoungs mentioned this pull request Jan 13, 2025
4 tasks
yurishkuro pushed a commit that referenced this pull request Jan 13, 2025
These links are currently broken. I didn't actually test these commands,
but #6523 looks like a simple rename, so might be fine.

## Which problem is this PR solving?
- n/a

## Description of the changes
- README updates

## How was this change tested?
- It wasn't

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/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`: `npm run lint` and `npm run test`

Signed-off-by: Jeff Youngs <[email protected]>
ekefan pushed a commit to ekefan/jaeger that referenced this pull request Jan 14, 2025
…g#6523)

<!--
!! Please DELETE this comment before posting.
We appreciate your contribution to the Jaeger project! 👋🎉
-->

## Which problem is this PR solving?
-  Resolves jaegertracing#6520 

## Description of the changes
- Rename docker-compose.yml to docker-compose-v1.yml
- update reference: script, doc, github actions, makefile

## How was this change tested?
- 

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [ ] 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`: `npm run lint` and `npm run test`

---------

Signed-off-by: zzzk1 <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
ekefan pushed a commit to ekefan/jaeger that referenced this pull request Jan 14, 2025
These links are currently broken. I didn't actually test these commands,
but jaegertracing#6523 looks like a simple rename, so might be fine.

## Which problem is this PR solving?
- n/a

## Description of the changes
- README updates

## How was this change tested?
- It wasn't

## Checklist
- [ ] I have read
https://github.com/jaegertracing/jaeger/blob/master/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`: `npm run lint` and `npm run test`

Signed-off-by: Jeff Youngs <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:bugfix-or-minor-feature docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make hotrod/docker compose v2 the default
2 participants