update sapp, field_stat etc to support prometheus output.

This commit is contained in:
fumingwei
2020-11-16 15:58:50 +06:00
parent c2615d0099
commit c687b71df0
11 changed files with 23 additions and 25 deletions

Binary file not shown.

View File

@@ -13,7 +13,7 @@
- name: "install sapp rpms from localhost"
yum:
name:
- /tmp/ansible_deploy/sapp-4.2.5.d8bc307-2.el7.x86_64.rpm
- /tmp/ansible_deploy/sapp-4.2.6.cd822b1-2.el7.x86_64.rpm
state: present
skip_broken: yes

View File

@@ -6,9 +6,9 @@
#./plug/platform/g_device_plug/g_device_plug.inf
#./plug/platform/http_healthcheck/http_healthcheck.inf
{% endif %}
./plug/platform/app_proto_identify/app_proto_identify.inf
./plug/platform/tsg_master/tsg_master.inf
{% if tsg_app_enable == 1 %}
./plug/platform/app_proto_identify/app_proto_identify.inf
./plug/platform/app_master/app_master.inf
{% endif %}

View File

@@ -175,6 +175,11 @@ dictator_enable=0
metric_type = default
app_name=sapp
[profiling.log.prometheus]
prometheus_enabled={{ sapp_prometheus_enable }}
prometheus_port={{ sapp_prometheus_port }}
prometheus_url_path={{ sapp_prometheus_url_path }}
[TOOLS]
[tools.pkt_dump]
enabled=0