# Get the metrics from Alluxio processes$curl<COORDINATOR_HOSTNAME>:<COORDINATOR_WEB_PORT>/metrics/$curl<WORKER_HOSTNAME>:<WORKER_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/
labels:
app.kubernetes.io/instance: alluxio # used to distinguish different alluxio cluster
app.kubernetes.io/component: worker # values from operator deployment are coordinator, worker. 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 and 30000 for worker
prometheus.io/port: "30000"
prometheus.io/path: "/metrics/"