mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-24 23:58:34 -04:00
MINOR: stats: export function to allocate extra proxy counters
Remove static qualifier on stats_allocate_proxy_counters_internal. This function will be used to allocate extra counters at runtime for dynamic servers.
This commit is contained in:
parent
76e10e78bb
commit
216a1ce3b9
2 changed files with 4 additions and 2 deletions
|
|
@ -126,6 +126,8 @@ static inline struct field mkf_flt(uint32_t type, double value)
|
|||
#define MK_STATS_PROXY_DOMAIN(px_cap) \
|
||||
((px_cap) << STATS_PX_CAP | STATS_DOMAIN_PROXY)
|
||||
|
||||
int stats_allocate_proxy_counters_internal(struct extra_counters **counters,
|
||||
int type, int px_cap);
|
||||
int stats_allocate_proxy_counters(struct proxy *px);
|
||||
|
||||
void stats_register_module(struct stats_module *m);
|
||||
|
|
|
|||
|
|
@ -4859,8 +4859,8 @@ static int cli_io_handler_dump_json_schema(struct appctx *appctx)
|
|||
return stats_dump_json_schema_to_buffer(appctx->owner);
|
||||
}
|
||||
|
||||
static int stats_allocate_proxy_counters_internal(struct extra_counters **counters,
|
||||
int type, int px_cap)
|
||||
int stats_allocate_proxy_counters_internal(struct extra_counters **counters,
|
||||
int type, int px_cap)
|
||||
{
|
||||
struct stats_module *mod;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue