armeria icon indicating copy to clipboard operation
armeria copied to clipboard

Change distribution summary config with YAML [Spring Integration]

Open okue opened this issue 4 years ago • 6 comments

It would be good if we can change this distribution summary config with YAML like

management:
  metrics:
    distribution:
      percentiles:
        - 0.5
        - 0.75
        - 0.9
        - 0.95
        - 0.99

https://armeria.dev/docs/advanced-metrics#changing-the-default-distribution-summary-config

okue avatar Jan 27 '21 01:01 okue

Maybe add support in spring auto configuration ?

eisig avatar Jan 27 '21 23:01 eisig

Sorry not notice the title already say “Spring Integration”😅

eisig avatar Jan 28 '21 00:01 eisig

Yes, I want armeria-spring-boot-starter to support this kind of feature.

okue avatar Jan 28 '21 03:01 okue

@okue do you woking on it? If not, I may have a try.

eisig avatar Jan 28 '21 05:01 eisig

@eisig i do nothing yet. Thank you!

okue avatar Jan 28 '21 06:01 okue

I think the above distribution summary can be applied by setting as the following What do you think? @okue

management:
  metrics:
    distribution:
      percentiles:
        armeria.server: 0.5, 0.75, 0.9, 0.95, 0.99

ta7uw avatar Apr 13 '22 04:04 ta7uw