[ 
https://issues.apache.org/jira/browse/FLINK-16588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063286#comment-17063286
 ] 

Gary Yao commented on FLINK-16588:
----------------------------------

How are you starting your Docker containers? Are you using Docker volumes, bind 
mounts, or the container's writable layer to store data? When using Docker 
volumes or bind mounts, you can monitor the free space of the underlying disk 
externally. When using the container's writable layer, by default (overlay2 
storage driver), the container size is not limited, and you can also monitor 
the free space of the underlying disk. The size of a container can be monitored 
externally as well, e.g., {{docker ps --size}}.

> Add Disk Space metrics to TaskManagers
> --------------------------------------
>
>                 Key: FLINK-16588
>                 URL: https://issues.apache.org/jira/browse/FLINK-16588
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Metrics
>    Affects Versions: 1.10.0
>            Reporter: Thomas Wozniakowski
>            Priority: Minor
>
> Hi,
> We have recently switched to the RocksDB state backend. We are scraping 
> Taskmanager metrics from the REST endpoints to watch for memory and CPU 
> issues, but we currently have no good way to get the remaining disk space, so 
> we have no way of knowing when RocksDB is going to run out of space for state 
> storage.
> How plausible is it to add something like a {{State.FreeStorageBytes}} metric 
> or something similar to the standard TaskManager metrics set?
> Thanks,



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to