Lines Matching refs:base

51 		LOG_DBG("entry->name: %s", entry->base.name);  in prometheus_get_counter_metric()
53 if (strncmp(entry->base.name, name, strlen(entry->base.name)) == 0) { in prometheus_get_counter_metric()
54 LOG_DBG("Counter found %s", entry->base.name); in prometheus_get_counter_metric()
67 LOG_DBG("entry->name: %s", entry->base.name); in prometheus_get_gauge_metric()
69 if (strncmp(entry->base.name, name, strlen(entry->base.name)) == 0) { in prometheus_get_gauge_metric()
70 LOG_DBG("Counter found %s", entry->base.name); in prometheus_get_gauge_metric()
83 LOG_DBG("entry->name: %s", entry->base.name); in prometheus_get_histogram_metric()
85 if (strncmp(entry->base.name, name, strlen(entry->base.name)) == 0) { in prometheus_get_histogram_metric()
86 LOG_DBG("Counter found %s", entry->base.name); in prometheus_get_histogram_metric()
99 LOG_DBG("entry->name: %s", entry->base.name); in prometheus_get_summary_metric()
101 if (strncmp(entry->base.name, name, strlen(entry->base.name)) == 0) { in prometheus_get_summary_metric()
102 LOG_DBG("Counter found %s", entry->base.name); in prometheus_get_summary_metric()
146 return CONTAINER_OF(metric, struct prometheus_counter, base); in prometheus_collector_get_metric()
148 return CONTAINER_OF(metric, struct prometheus_gauge, base); in prometheus_collector_get_metric()
150 return CONTAINER_OF(metric, struct prometheus_histogram, base); in prometheus_collector_get_metric()
152 return CONTAINER_OF(metric, struct prometheus_summary, base); in prometheus_collector_get_metric()