mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
[AMF metrics] Initial histogram support
Version of histogram support without ogs_metrics_spec_new_ex(). Buckets are now, just like labels, passed to ogs_metrics_spec_new() as a pointer.
This commit is contained in:
parent
7e1848f5de
commit
6f593432a4
9 changed files with 104 additions and 8 deletions
|
|
@ -70,7 +70,8 @@ void ogs_metrics_spec_final(ogs_metrics_context_t *ctx)
|
|||
ogs_metrics_spec_t *ogs_metrics_spec_new(
|
||||
ogs_metrics_context_t *ctx, ogs_metrics_metric_type_t type,
|
||||
const char *name, const char *description,
|
||||
int initial_val, unsigned int num_labels, const char ** labels)
|
||||
int initial_val, unsigned int num_labels, const char ** labels,
|
||||
ogs_metrics_histogram_params_t *histogram_params)
|
||||
{
|
||||
return (ogs_metrics_spec_t *)1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue