FUSE进程: Alluxio FUSE进程,无论作为daemon set process还是通过CSI运行
使用
向目标Alluxio进程的/metrics/发送HTTP请求,获取所有指标的快照。
# Get the metrics from Alluxio processes$curl<COORDINATOR_HOSTNAME>:<COORDINATOR_WEB_PORT>/metrics/$curl<WORKER_HOSTNAME>:<WORKER_WEB_PORT>/metrics/$curl<FUSE_HOSTNAME>:<FUSE_WEB_PORT>/metrics/
例如,对于本地进程:
# Get the local coordinator metrics with its default web port 19999$curl127.0.0.1:19999/metrics/# Get the local worker metrics with its default web port 30000$curl127.0.0.1:30000/metrics/# Get the local fuse metrics with its default web port 49999$curl127.0.0.1:49999/metrics/
labels:
app.kubernetes.io/instance: alluxio # used to distinguish different alluxio cluster
app.kubernetes.io/component: worker # values from operator deployment are coordinator, worker, fuse, and csi-fuse. depends on the pod
annotations:
prometheus.io/scrape: "true"
# values should match with the port of the component. By default, it's 19999 for coordinator, 30000 for worker, and 49999 for fuse
prometheus.io/port: "30000"
prometheus.io/path: "/metrics/"