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

[jaeger-v2] Add support for Badger #5112

Merged
merged 42 commits into from
Jan 23, 2024

Conversation

akagami-harsh
Copy link
Member

Which problem is this PR solving?

Description of the changes

  • adding wiring for badger in jeager-v2

How was this change tested?

  • not tested yet

Checklist

Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
@akagami-harsh
Copy link
Member Author

It's not complete yet, just want some pointers on whether I'm on the right track?

Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
cmd/jaeger/badger_config.yaml Outdated Show resolved Hide resolved
cmd/jaeger/config.yaml Outdated Show resolved Hide resolved
cmd/jaeger/integration/datarecivers/jaegerstorage.go Outdated Show resolved Hide resolved
akagami-harsh and others added 6 commits January 18, 2024 01:52
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Copy link

github-actions bot commented Jan 18, 2024

Test Results

2 076 tests  ±0   2 066 ✅ ±0   1m 9s ⏱️ ±0s
  217 suites +1      10 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 4563f42. ± Comparison against base commit adbdb2d.

♻️ This comment has been updated with latest results.

Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d687d35) 95.61% compared to head (f9da1a0) 95.63%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5112      +/-   ##
==========================================
+ Coverage   95.61%   95.63%   +0.01%     
==========================================
  Files         324      324              
  Lines       18568    18590      +22     
==========================================
+ Hits        17754    17778      +24     
+ Misses        653      651       -2     
  Partials      161      161              
Flag Coverage Δ
cassandra-3.x 25.58% <ø> (ø)
cassandra-4.x 25.58% <ø> (ø)
elasticsearch-5.x 19.85% <ø> (ø)
elasticsearch-6.x 19.86% <ø> (ø)
elasticsearch-7.x 20.00% <ø> (+0.01%) ⬆️
elasticsearch-8.x 20.07% <ø> (ø)
grpc-badger 19.48% <0.00%> (-0.03%) ⬇️
kafka 14.09% <ø> (ø)
opensearch-1.x 20.00% <ø> (ø)
opensearch-2.x 20.00% <ø> (ø)
unittests 93.33% <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.

akagami-harsh and others added 2 commits January 19, 2024 11:52
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
cmd/jaeger/badger_config.yaml Outdated Show resolved Hide resolved
cmd/jaeger/badger_config.yaml Outdated Show resolved Hide resolved
akagami-harsh and others added 4 commits January 20, 2024 15:41
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
@akagami-harsh
Copy link
Member Author

protogen CI is failing, how can i solve it?

@yurishkuro
Copy link
Member

protogen CI is failing, how can i solve it?

remove unrelated changes from the PR

Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
@akagami-harsh akagami-harsh changed the title WIP add support for badger in jaeger-v2 add support for badger in jaeger-v2 Jan 21, 2024
akagami-harsh and others added 8 commits January 22, 2024 11:08
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
akagami-harsh and others added 4 commits January 23, 2024 02:37
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <122517264+akagami-harsh@users.noreply.github.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Harshvir Potpose <hpotpose62@gmail.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
@@ -34,7 +34,7 @@ jobs:
run: bash scripts/kafka-integration-test.sh -k

- name: Output Kafka logs
run: docker logs "${{ job.services.kafka.id }}"
run: docker logs kafka
Copy link
Member

Choose a reason for hiding this comment

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

not related to this PR, but CI was failing repeatedly and no logs were printed. Using job.services.kafka.id is a bug, leftover from when kafka was started as part of the workflow, instead of manually.

Signed-off-by: Yuri Shkuro <github@ysh.us>
@@ -18,7 +18,7 @@ start_kafka() {
-e KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT \
-e KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER \
-e KAFKA_CFG_INTER_BROKER_LISTENER_NAME=PLAINTEXT \
bitnami/kafka:3.6
bitnami/kafka:3.6.0
Copy link
Member

Choose a reason for hiding this comment

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

unrelated change, but CI was failing for this PR, because bitnami/kafka:3.6.1 was released today and it's failing to start with

Exception in thread "main" org.apache.kafka.common.config.ConfigException: Invalid value  for configuration message.max.bytes: Not a number of type INT
	at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:745)
	at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:493)
	at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:486)
	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:112)
	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:145)
	at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1601)
	at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:1603)
	at kafka.tools.StorageTool$.$anonfun$main$1(StorageTool.scala:50)
	at scala.Option.flatMap(Option.scala:271)
	at kafka.tools.StorageTool$.main(StorageTool.scala:50)
	at kafka.tools.StorageTool.main(StorageTool.scala)

@yurishkuro yurishkuro enabled auto-merge (squash) January 23, 2024 05:05
@yurishkuro yurishkuro merged commit ef38eab into jaegertracing:main Jan 23, 2024
37 checks passed
@yurishkuro
Copy link
Member

Thanks!

@akagami-harsh akagami-harsh deleted the implement-badger-for-v2 branch January 23, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:new-feature Change that should be called out as new feature in CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants