首页  

flink1.18.1 pushgateway prometheus监控     所属分类 flink 浏览量 287
https://nightlies.apache.org/flink/flink-docs-release-1.18/zh/docs/deployment/metric_reporters/#prometheuspushgateway

PrometheusPushGatewayReporter 发送器将运行指标发送给 Pushgateway,Prometheus 再从 Pushgateway 拉取、解析运行指标。


flink-1.18.1/plugins/metrics-prometheus/flink-metrics-prometheus-1.18.1.jar
复制到
flink-1.18.1/lib 

metrics.reporter.promgateway.factory.class: org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporterFactory
metrics.reporter.promgateway.hostUrl: http://192.168.1.9:9093
metrics.reporter.promgateway.jobName: myJob_dugang
metrics.reporter.promgateway.randomJobNameSuffix: true
metrics.reporter.promgateway.deleteOnShutdown: false
metrics.reporter.promgateway.interval: 10 SECONDS


查看指标
http://192.168.1.9:9093/metrics   



grafana图表id  14911
https://grafana.com/dashboards/14911 


Apache Flink (2021) Dashboard for Job / Task Manager
Dashboard for Job Manager and Task Manager, prepared for versions: 1.12.X, 1.13.X

上一篇     下一篇
doris 简介

linux 权限 777

Prometheus Pushgateway

zookeeper3.4 prometheus监控

grafana Dashboard SpringBoot2 micrometer-prometheus

mysql监控 mysqld_exporter