TSG-1242 输出Prometheus格式的性能监控数据

This commit is contained in:
fengweihao
2020-04-14 17:01:08 +08:00
parent 398907290e
commit f2e2832cbf
6 changed files with 200 additions and 157 deletions

View File

@@ -42,7 +42,7 @@ enum syslog_display_format{
static
void cert_preview ()
{
struct config_bucket_t *rte = cert_default_config();
struct config_bucket_t *rte = cfg_instanec();
printf("\r\nBasic Configuration of CertStore \n");
printf("%30s:%45s\n", "Run Mode", (rte->mode == 1)?"rsync":"sync");