咨询夜莺v6,接收grafana-agent推送过来的数据报错

Viewed 50

n9e报错内容如下:
2023-05-11 10:55:11.511489 WARNING writer/writer.go:72 post to got error: Post "": unsupported protocol scheme ""
2023-05-11 10:55:11.511523 WARNING writer/writer.go:73 example timeseries:labels:<name:"name" value:"node_arp_entries" > labels:<name:"ident" value:"ten-dsl-ops-n9e-prod-002" > labels:<name:"device" value:"eth0" > labels:<name:"host" value:"172.22.127.126" > labels:<name:"hostjhtest" value:"172.22.127.126" > labels:<name:"instance" value:"ten-dsl-ops-n9e-prod-002:12345" > labels:<name:"job" value:"integrations/node_exporter" > samples:<value:11 timestamp:1683773709048 >

grafana-agent配置如下:
server:
log_level: info
metrics:
global:
scrape_interval: 15s
scrape_timeout: 10s
remote_write:
- url: http://172.22.126.31:17000/prometheus/v1/write
integrations:
node_exporter:
enabled: true
include_exporter_metrics: true
labels:
host: 172.22.127.126
hostjhtest: 172.22.127.126

3 Answers