You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "peachisai (via GitHub)" <gi...@apache.org> on 2025/04/14 04:04:12 UTC

[PR] Swip support flink monitoring [skywalking]

peachisai opened a new pull request, #13167:
URL: https://github.com/apache/skywalking/pull/13167

   <!--
       ⚠️ Please make sure to read this template first, pull requests that don't accord with this template
       maybe closed without notice.
       Texts surrounded by `<` and `>` are meant to be replaced by you, e.g. <framework name>, <issue number>.
       Put an `x` in the `[ ]` to mark the item as CHECKED. `[x]`
   -->
   
   <!-- ==== πŸ› Remove this line WHEN AND ONLY WHEN you're fixing a bug, follow the checklist πŸ‘‡ ====
   ### Fix <bug description or the bug issue number or bug issue link>
   - [ ] Add a unit test to verify that the fix works.
   - [ ] Explain briefly why the bug exists and how to fix it.
        ==== πŸ› Remove this line WHEN AND ONLY WHEN you're fixing a bug, follow the checklist πŸ‘† ==== -->
   
   <!-- ==== πŸ“ˆ Remove this line WHEN AND ONLY WHEN you're improving the performance, follow the checklist πŸ‘‡ ====
   ### Improve the performance of <class or module or ...>
   - [ ] Add a benchmark for the improvement, refer to [the existing ones](https://github.com/apache/skywalking/blob/master/apm-commons/apm-datacarrier/src/test/java/org/apache/skywalking/apm/commons/datacarrier/LinkedArrayBenchmark.java)
   - [ ] The benchmark result.
   ```text
   <Paste the benchmark results here>
   ```
   - [ ] Links/URLs to the theory proof or discussion articles/blogs. <links/URLs here>
        ==== πŸ“ˆ Remove this line WHEN AND ONLY WHEN you're improving the performance, follow the checklist πŸ‘† ==== -->
   
   <!-- ==== πŸ†• Remove this line WHEN AND ONLY WHEN you're adding a new feature, follow the checklist πŸ‘‡ ====
   ### <Feature description>
   - [ ] If this is non-trivial feature, paste the links/URLs to the design doc.
   - [ ] Update the documentation to include this new feature.
   - [ ] Tests(including UT, IT, E2E) are added to verify the new feature.
   - [ ] If it's UI related, attach the screenshots below.
        ==== πŸ†• Remove this line WHEN AND ONLY WHEN you're adding a new feature, follow the checklist πŸ‘† ==== -->
   
   - [ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #<issue number>.
   - [x] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] SWIP-9, support flink monitoring [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng merged PR #13167:
URL: https://github.com/apache/skywalking/pull/13167


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Swip support flink monitoring [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng commented on code in PR #13167:
URL: https://github.com/apache/skywalking/pull/13167#discussion_r2041387629


##########
docs/en/swip/SWIP-9.md:
##########
@@ -0,0 +1,94 @@
+# Support Flink Monitoring
+## Motivation
+Apache Flink is a framework and distributed processing engine for stateful computations over unbounded and bounded data streams. Now that Skywalking can monitor OpenTelemetry metrics, I want to add Flink monitoring via the OpenTelemetry Collector, which fetches metrics from its own Http Endpoint
+to expose metrics data for Prometheus.
+
+## Architecture Graph
+There is no significant architecture-level change.
+
+## Proposed Changes
+Flink expose its metrics via HTTP endpoint to OpenTelemetry collector, using SkyWalking openTelemetry receiver to receive these metrics。
+Provide cluster, instance, and endpoint dimensions monitoring.
+
+### Flink Cluster Supported Metrics
+
+| Monitoring Panel              | Unit  | Metric Name                                           | Description                                                                                       | Data Source      |
+|-------------------------------|-------|-------------------------------------------------------|---------------------------------------------------------------------------------------------------|------------------|
+| Running Jobs                  | Count | meter_flink_jobManager_running_job_number             | The number of running jobs.                                                                       | Flink JobManager |
+| TaskManagers                  | Count | meter_flink_jobManager_taskManagers_registered_number | The number of taskManagers.                                                                       | Flink JobManager |
+| Jvm Cpu Load                  | %     | meter_flink_jobManager_jvm_cpu_load                   | The number of the jobManager Jvm cpu load.                                                        | Flink JobManager |

Review Comment:
   Cpu -> CPU



##########
docs/en/swip/SWIP-9.md:
##########
@@ -0,0 +1,94 @@
+# Support Flink Monitoring
+## Motivation
+Apache Flink is a framework and distributed processing engine for stateful computations over unbounded and bounded data streams. Now that Skywalking can monitor OpenTelemetry metrics, I want to add Flink monitoring via the OpenTelemetry Collector, which fetches metrics from its own Http Endpoint
+to expose metrics data for Prometheus.
+
+## Architecture Graph
+There is no significant architecture-level change.
+
+## Proposed Changes
+Flink expose its metrics via HTTP endpoint to OpenTelemetry collector, using SkyWalking openTelemetry receiver to receive these metrics。
+Provide cluster, instance, and endpoint dimensions monitoring.
+
+### Flink Cluster Supported Metrics
+
+| Monitoring Panel              | Unit  | Metric Name                                           | Description                                                                                       | Data Source      |
+|-------------------------------|-------|-------------------------------------------------------|---------------------------------------------------------------------------------------------------|------------------|
+| Running Jobs                  | Count | meter_flink_jobManager_running_job_number             | The number of running jobs.                                                                       | Flink JobManager |
+| TaskManagers                  | Count | meter_flink_jobManager_taskManagers_registered_number | The number of taskManagers.                                                                       | Flink JobManager |
+| Jvm Cpu Load                  | %     | meter_flink_jobManager_jvm_cpu_load                   | The number of the jobManager Jvm cpu load.                                                        | Flink JobManager |
+| Jvm thread count              | Count | meter_flink_jobManager_jvm_thread_count               | The total number of the jobManager jvm threads.                                                   | Flink JobManager |

Review Comment:
   Jvm should be JVM.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Swip support flink monitoring [skywalking]

Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng commented on code in PR #13167:
URL: https://github.com/apache/skywalking/pull/13167#discussion_r2041385233


##########
docs/en/swip/readme.md:
##########
@@ -68,7 +68,7 @@ All accepted and proposed SWIPs can be found in [here](https://github.com/apache
 
 ## Known SWIPs
 
-Next SWIP Number: 9
+Next SWIP Number: 10

Review Comment:
   Please update the following list, this will be accepted after merging.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org