1. modify exporter_proxy nginx.conf
2. modify telegraf_statistic.conf to delete promeious client
This commit is contained in:
@@ -68,5 +68,21 @@ http {
|
|||||||
location /metrics/blade/mcn3/systemd_exporter {
|
location /metrics/blade/mcn3/systemd_exporter {
|
||||||
proxy_pass http://192.168.100.4:9558/metrics;
|
proxy_pass http://192.168.100.4:9558/metrics;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /metrics/blade/mcn0/certstore {
|
||||||
|
proxy_pass http://192.168.100.1:9002/metrics;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /metrics/blade/mcn1/tfe {
|
||||||
|
proxy_pass http://192.168.100.2:9001/metrics;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /metrics/blade/mcn2/tfe {
|
||||||
|
proxy_pass http://192.168.100.3:9001/metrics;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /metrics/blade/mcn3/tfe {
|
||||||
|
proxy_pass http://192.168.100.4:9001/metrics;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,9 +46,6 @@
|
|||||||
fieldpass = [ "*_conn_num", "*_bytes", "*_in_packets", "*_out_packets", "intercept", "hit_share", "tcp_links", "udp_links", "success_log", "failed_log", "bypass", "drop_log","pinning_num","*pinning_num","intcp_*_num"]
|
fieldpass = [ "*_conn_num", "*_bytes", "*_in_packets", "*_out_packets", "intercept", "hit_share", "tcp_links", "udp_links", "success_log", "failed_log", "bypass", "drop_log","pinning_num","*pinning_num","intcp_*_num"]
|
||||||
topic = "TRAFFIC-METRICS-LOG"
|
topic = "TRAFFIC-METRICS-LOG"
|
||||||
data_format = "json"
|
data_format = "json"
|
||||||
[[outputs.prometheus_client]]
|
|
||||||
listen = ":9273"
|
|
||||||
path = "/metrics"
|
|
||||||
[[inputs.tcp_listener]]
|
[[inputs.tcp_listener]]
|
||||||
[[inputs.udp_listener]]
|
[[inputs.udp_listener]]
|
||||||
ServiceAddress= ":8100"
|
ServiceAddress= ":8100"
|
||||||
|
|||||||
Reference in New Issue
Block a user