summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/prom/prom.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/plugins/prom/prom.c b/src/plugins/prom/prom.c
index 0b03a7adb0b..6db50204d65 100644
--- a/src/plugins/prom/prom.c
+++ b/src/plugins/prom/prom.c
@@ -98,26 +98,6 @@ dump_counter_vector_combined (stat_segment_data_t *res, u8 *s, u8 used_only)
}
static u8 *
-dump_error_index (stat_segment_data_t *res, u8 *s, u8 used_only)
-{
- u8 *name;
- int j;
-
- name = make_stat_name (res->name);
-
- for (j = 0; j < vec_len (res->error_vector); j++)
- {
- if (used_only && !res->error_vector[j])
- continue;
- s = format (s, "# TYPE %v counter\n", name);
- s =
- format (s, "%v{thread=\"%d\"} %lld\n", name, j, res->error_vector[j]);
- }
-
- return s;
-}
-
-static u8 *
dump_scalar_index (stat_segment_data_t *res, u8 *s, u8 used_only)
{
u8 *name;
@@ -179,9 +159,6 @@ retry:
case STAT_DIR_TYPE_COUNTER_VECTOR_COMBINED:
s = dump_counter_vector_combined (&res[i], s, used_only);
break;
- case STAT_DIR_TYPE_ERROR_INDEX:
- s = dump_error_index (&res[i], s, used_only);
- break;
case STAT_DIR_TYPE_SCALAR_INDEX:
s = dump_scalar_index (&res[i], s, used_only);