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

Metric grpc_server_processing_duration_seconds_max is always 0 #1108

Closed
rick-alp opened this issue May 8, 2024 · 2 comments
Closed

Metric grpc_server_processing_duration_seconds_max is always 0 #1108

rick-alp opened this issue May 8, 2024 · 2 comments
Labels
bug Something does not work as expected

Comments

@rick-alp
Copy link

rick-alp commented May 8, 2024

The context

What do you wish to achieve?

The bug

grpc_server_processing_duration_seconds_max is always 0 no matter what the call with version 3.0.0.RELEASE,
grpc_server_processing_duration_seconds_sum and grpc_server_processing_duration_seconds_count are okay.

Steps to Reproduce

Enable metrics, make a grpc call grpc_server_processing_duration_seconds_max should not be 0

Which versions do you use?

  • Spring (boot): 3.2.3
  • grpc-spring-boot-starter: 3.0.0.RELEASE
  • java: version + architecture (64bit?) 21, 64bit

Additional context

  • Did it ever work before? Yes, 2.14.0.RELEASE
@rick-alp rick-alp added the bug Something does not work as expected label May 8, 2024
@ST-DDT
Copy link
Collaborator

ST-DDT commented May 8, 2024

The metrics is from micrometer, please report this issue upstream:

https://github.com/micrometer-metrics/micrometer/blob/8e877cf4bd9657a0764b8a21f7a7b03583dcd99a/micrometer-core/src/main/java/io/micrometer/core/instrument/binder/grpc/MetricCollectingServerInterceptor.java#L63

@ST-DDT
Copy link
Collaborator

ST-DDT commented May 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something does not work as expected
Projects
None yet
Development

No branches or pull requests

2 participants