我正在尝试将 Nifi 与 Prometheus 连接起来,以通过其导出器可视化 Nifi 指标。但是我在 Prometheus 状态目标中有以下错误:(我附上了图像)
当我输入 http://localhost:9103/metrics 时,出现以下错误:
<块引用>
提供指标时发生错误:
发生 4 个错误:
- 错误收集指标 Desc{fqName: "nifi_conn_flow_files_queued", help: "当前在队列中排队的 FlowFiles 的数量
connection", constLabels: {env="testing"}, variableLabels: [node_id
connection_name connection_id group_id source_name destination_name]}:
NiFi API 请求失败:获取
“http://localhost:8080/nifi-api/process-groups/root/connections”:拨号
tcp 127.0.0.1:8080:连接:连接被拒绝
- 错误收集指标 Desc{fqName: "nifi_info", help: "NiFi version info.", constLabels: {env="testing"}, variableLabels: [node_id
version]}:NiFi API 请求失败:获取
“http://localhost:8080/nifi-api/system-diagnostics?nodewise=1”:拨号
tcp 127.0.0.1:8080:连接:连接被拒绝
- 错误收集指标 Desc{fqName: "nifi_counter_total", help: "The value of the counter.", constLabels: {env="testing"},
变量标签:[node_id id 上下文名称]}:无法检索指标
对于节点“”:NiFi API 请求失败:获取
“http://localhost:8080/nifi-api/counters?nodewise=1”:拨tcp
127.0.0.1:8080:连接:连接被拒绝
- 错误收集指标 Desc{fqName: "nifi_pg_component_count", help: "此进程组中的组件数。", constLabels:
{env="testing"}, variableLabels: [group status entity_id]}: NiFi API
请求失败:获取
“http://localhost:8080/nifi-api/process-groups/root/process-groups”:
拨打 tcp 127.0.0.1:8080:连接:连接被拒绝
有人能帮我看看发生了什么吗?
谢谢。