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

Delete gRPC MetricsQueryService, metricsquery.proto and related code #6616

Merged
merged 5 commits into from
Jan 26, 2025

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Jan 26, 2025

Which problem is this PR solving?

  • No code in Jaeger was dependent on having a gRPC endpoint for reading metrics. UI's Monitor tab uses JSON endpoint.
  • This code is just a pass-through proxy to the underlying metrics storage with which we communicate using OpenMetrics API.

Description of the changes

  • Delete unnecessary code and proto-gen types.
  • 🛑 This is a breaking change: the gRPC MetricsQueryService endpoint is removed.

How was this change tested?

  • CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro requested a review from a team as a code owner January 26, 2025 21:03
@yurishkuro yurishkuro requested a review from jkowall January 26, 2025 21:03
@yurishkuro yurishkuro added the changelog:breaking-change Change that is breaking public APIs or established behavior label Jan 26, 2025
@yurishkuro yurishkuro changed the title Delete metricsquery.proto and related code Delete gRPC MetricsQueryService, metricsquery.proto and related code Jan 26, 2025
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.01%. Comparing base (5caf4e4) to head (bb6d3ac).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6616      +/-   ##
==========================================
- Coverage   96.03%   96.01%   -0.03%     
==========================================
  Files         365      365              
  Lines       20767    20654     -113     
==========================================
- Hits        19944    19831     -113     
  Misses        626      626              
  Partials      197      197              
Flag Coverage Δ
badger_v1 9.88% <ø> (ø)
badger_v2 1.83% <ø> (ø)
cassandra-4.x-v1-manual 15.02% <ø> (ø)
cassandra-4.x-v2-auto 1.82% <ø> (ø)
cassandra-4.x-v2-manual 1.82% <ø> (ø)
cassandra-5.x-v1-manual 15.02% <ø> (ø)
cassandra-5.x-v2-auto 1.82% <ø> (ø)
cassandra-5.x-v2-manual 1.82% <ø> (ø)
elasticsearch-6.x-v1 19.23% <ø> (ø)
elasticsearch-7.x-v1 19.31% <ø> (ø)
elasticsearch-8.x-v1 19.48% <ø> (ø)
elasticsearch-8.x-v2 1.83% <ø> (ø)
grpc_v1 11.18% <ø> (ø)
grpc_v2 8.04% <ø> (ø)
kafka-3.x-v1 10.17% <ø> (ø)
kafka-3.x-v2 1.83% <ø> (ø)
memory_v2 1.83% <ø> (ø)
opensearch-1.x-v1 19.36% <ø> (ø)
opensearch-2.x-v1 19.36% <ø> (ø)
opensearch-2.x-v2 1.83% <ø> (ø)
tailsampling-processor 0.48% <ø> (ø)
unittests 94.80% <100.00%> (-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.

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 enabled auto-merge (squash) January 26, 2025 22:27
@yurishkuro yurishkuro merged commit 7f72d96 into jaegertracing:main Jan 26, 2025
55 checks passed
@yurishkuro yurishkuro deleted the delete-metrics-proto branch January 26, 2025 22:55
ekefan pushed a commit to ekefan/jaeger that referenced this pull request Jan 26, 2025
…aegertracing#6616)

## Which problem is this PR solving?
- No code in Jaeger was dependent on having a gRPC endpoint for reading
metrics. UI's Monitor tab uses JSON endpoint.
- This code is just a pass-through proxy to the underlying metrics
storage with which we communicate using OpenMetrics API.

## Description of the changes
- Delete unnecessary code and proto-gen types.
- 🛑 This is a breaking change: the gRPC `MetricsQueryService` endpoint
is removed.

## How was this change tested?
- CI

---------

Signed-off-by: Yuri Shkuro <github@ysh.us>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:breaking-change Change that is breaking public APIs or established behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants