Is there a way to track memory in armeria server?
See original GitHub issueHello, I am wondering there is a way to track memory state of armeria server? I found default armeria metrics, something like that:
# HELP armeria_executor_queued_tasks The approximate number of tasks that are queued for execution
# TYPE armeria_executor_queued_tasks gauge
armeria_executor_queued_tasks{name="blockingTaskExecutor",} 0.0
# HELP armeria_executor_queue_remaining_tasks The number of additional elements that this queue can ideally accept without blocking
# TYPE armeria_executor_queue_remaining_tasks gauge
armeria_executor_queue_remaining_tasks{name="blockingTaskExecutor",} 2.147483647E9
# HELP armeria_executor_idle_seconds
# TYPE armeria_executor_idle_seconds summary
armeria_executor_idle_seconds_count{name="blockingTaskExecutor",} 0.0
armeria_executor_idle_seconds_sum{name="blockingTaskExecutor",} 0.0
# HELP armeria_executor_idle_seconds_max
# TYPE armeria_executor_idle_seconds_max gauge
armeria_executor_idle_seconds_max{name="blockingTaskExecutor",} 0.0
# HELP armeria_executor_pool_size_threads The current number of threads in the pool
# TYPE armeria_executor_pool_size_threads gauge
armeria_executor_pool_size_threads{name="blockingTaskExecutor",} 0.0
but it seems that all of them shows unrealistic results
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Serving static files — Armeria documentation
Use FileService to serve static files under a certain directory. FileService supports GET and HEAD HTTP methods and will auto-fill Date , Last-Modified...
Read more >GrpcServiceBuilder - armeria-javadoc 0.99.9 javadoc
Constructs a new GrpcService that can be bound to ServerBuilder . It is recommended to bind the service to a server using ServerBuilder.service( ......
Read more >Check gRPC backpressure code. · Issue #1037 · line/armeria
The current test only verifies when the message is delivered to the business logic, but not when the message is delivered from server...
Read more >Let's Play with Reactive Streams on Armeria – Part 2
In part 2 of this blog post, I'd like to tell you about how we use Reactive Streams with Armeria. What's Armeria? Armeria...
Read more >Armeria: The Only Thrift/gRPC/REST Microservice Framework ...
The founder of Netty introduces a new microservice framework ' Armeria '. It is unique because it 1) has Netty-based high-perf HTTP/2 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

armeria_server_active_requestsis a snapshot of currently running services. If your service ends in a short time, it would not be recorded. https://github.com/line/armeria/blob/c8d1f5ef142f65fd79bd01b87d8155d220c9d0b9/core/src/main/java/com/linecorp/armeria/internal/common/metric/RequestMetricSupport.java#L84-L88If you are not familiar with the metrics of Micrometer, you may want to see the following example: https://github.com/line/centraldogma/blob/ed507c70c9e25cfaff4bee25050aca06b12b4843/server/src/main/java/com/linecorp/centraldogma/server/CentralDogma.java#L784-L792