[
https://issues.apache.org/jira/browse/FLINK-24402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Khachatryan updated FLINK-24402:
--------------------------------------
Parent: (was: FLINK-21352)
Issue Type: Technical Debt (was: Sub-task)
> Add a metric for back-pressure from the ChangelogStateBackend
> -------------------------------------------------------------
>
> Key: FLINK-24402
> URL: https://issues.apache.org/jira/browse/FLINK-24402
> Project: Flink
> Issue Type: Technical Debt
> Components: Benchmarks
> Reporter: Roman Khachatryan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> FLINK-23381 adds back-pressure, this task is to add monitoring for that.
> See design doc:
> https://docs.google.com/document/d/1k5WkWIYzs3n3GYQC76H9BLGxvN3wuq7qUHJuBPR9YX0/edit#heading=h.ayt6cka7z0qf
> Can be reported as back-pressured by backend per second, similar to how
> "regular" back-pressure is currently reported
> ([prototype|https://github.com/rkhachatryan/flink/tree/clsb-bp-test]).
> Metric name: stateBackendBlockedTimeMsPerSecond
> Take into account:
> * there is blocking and non-blocking waiting for changelog availability (see
> [https://github.com/apache/flink/pull/17229#discussion_r740111285)]
> * UI needs to be adjusted in several places: Task label; Task details
> * Back-pressure status label should probably be adjusted
> * If changelog is disabled then the metric shouldn't be shown
> Consider whether to include changelog back-pressure into overall
> back-pressure
> (https://github.com/apache/flink/pull/17229#discussion_r738322138 ).
>
> Uploading metrics should be added in FLINK-23486.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)