summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author杨威 <[email protected]>2023-07-05 15:16:20 +0800
committer杨威 <[email protected]>2023-07-05 15:33:54 +0800
commit217354468694fb05e44af66544aba2933f188091 (patch)
treee479d561ac727954d5291d183db3ff6e8d9394b2 /include
parentb9364903593c7a4180e4ed3ad21531f03eeeb088 (diff)
✨ feat(metric app_name): 配置项增加app_name
Diffstat (limited to 'include')
-rw-r--r--include/private/sapp_global_val.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/private/sapp_global_val.h b/include/private/sapp_global_val.h
index e4bf415..16d3b62 100644
--- a/include/private/sapp_global_val.h
+++ b/include/private/sapp_global_val.h
@@ -137,6 +137,7 @@ typedef struct{
int prometheus_service_port;
char prometheus_service_uri[NAME_MAX];
char local_file[NAME_MAX];
+ char app_name[NAME_MAX];
int refresh_interval_s;
}sapp_config_profiling_metric_t;