-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][zeta][monitoring] Support exposing monitoring metrics by prometheus exporter protocol (#5070) #5112
base: dev
Are you sure you want to change the base?
Conversation
Good job. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert example module.
throws IOException, URISyntaxException, CommandException { | ||
String configurePath = | ||
args.length > 0 ? args[0] : "/examples/stream_fakesource_to_file.conf"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert.
String configFile = getTestConfigFile(configurePath); | ||
ClientCommandArgs clientCommandArgs = new ClientCommandArgs(); | ||
clientCommandArgs.setConfigFile(configFile); | ||
clientCommandArgs.setCheckConfig(false); | ||
clientCommandArgs.setJobName(Paths.get(configFile).getFileName().toString()); | ||
// Change Execution Mode to CLUSTER to use client mode, before do this, you should start | ||
// SeaTunnelEngineServerExample | ||
clientCommandArgs.setMasterType(MasterType.LOCAL); | ||
clientCommandArgs.setMasterType(MasterType.CLUSTER); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
@ic4y @hailin0 @Hisoka-X @EricJoy2048 This feature is not small, may need to discuss further development. |
|
Maybe we can mark it unstable. So we can change it after release. This just is an option I offered, not final decided. |
+1 |
@@ -15,6 +15,7 @@ | |||
# limitations under the License. | |||
# | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this.
e87262b
to
d307fea
Compare
@TyrantLucifer @kim-up |
@kim-up |
Please merge the dev branch and wait for ci to run successfully |
@TyrantLucifer @kim-up @hailin0 |
@kim-up we’re excited to see this merged. Thank you for your contribution. |
We should continue push this pr. @kim-up Could you fix conflict? cc @EricJoy2048 @hailin0 |
@kim-up I intend to continue this feature of yours, as it has been too long since the last update. I will be creating a new branch and porting your code to implement the necessary changes. Please be aware of this and looking forward to cooperating with you,TKS! :> |
PR for #5070
The final effect : https://github.com/kim-up/incubator-seatunnel/blob/telemetry/docs/en/seatunnel-engine/telemetry.md
Overall Design
Node Hazelcast Metrics
Getting metrics from
ManagedExecutorServiceMBean
Including, executor_executedCount、executor_isShutdown、executor_maxPoolSize 、executor_poolSize、executor_queueRemainingCapacity、executor_isShutdown、executor_queueSize
Zeta Thread Pool Metrics
Getting metrics from
CoordinatorService#(ThreadPoolExecutor) executorService
Including, pool_activeCount、pool_corePoolSize 、pool_maximumPoolSize、pool_poolSize、pool_completedTask_total、pool_task_total
Zeta Job Metrics
Getting metrics from
CoordinatorService#(IMap<Object, Object>)runningJobInfoIMap
Including, job count in various states
Node Jvm Metrics
Getting metrics from
io.prometheus.client.hotspot.prometheus.DefaultExports
Including, Memory、BufferPools、Garbage、Thread、ClassLoading、VersionInf
Cluster metrics
Getting metrics from
ClusterService
Including, cluster_info、cluster_time
Purpose of this pull request
Check list
New License Guide
release-note
.