@@ -52,8 +52,7 @@ export class DatabaseConnection {
5252 public static mongodb_query = new client . Histogram ( {
5353 name : 'openflow_mongodb_query_seconds' ,
5454 help : 'Duration for mongodb queries microseconds' ,
55- labelNames : [ 'collection' ] ,
56- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
55+ labelNames : [ 'collection' ]
5756 } )
5857 public static mongodb_query_count = new client . Counter ( {
5958 name : 'openflow_mongodb_query_count' ,
@@ -63,8 +62,7 @@ export class DatabaseConnection {
6362 public static mongodb_aggregate = new client . Histogram ( {
6463 name : 'openflow_mongodb_aggregate_seconds' ,
6564 help : 'Duration for mongodb queries microseconds' ,
66- labelNames : [ 'collection' ] ,
67- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
65+ labelNames : [ 'collection' ]
6866 } )
6967 public static mongodb_aggregate_count = new client . Counter ( {
7068 name : 'openflow_mongodb_aggregate_count' ,
@@ -74,8 +72,7 @@ export class DatabaseConnection {
7472 public static mongodb_insert = new client . Histogram ( {
7573 name : 'openflow_mongodb_insert_seconds' ,
7674 help : 'Duration for mongodb inserts microseconds' ,
77- labelNames : [ 'collection' ] ,
78- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
75+ labelNames : [ 'collection' ]
7976 } )
8077 public static mongodb_insert_count = new client . Counter ( {
8178 name : 'openflow_mongodb_insert_count' ,
@@ -85,8 +82,7 @@ export class DatabaseConnection {
8582 public static mongodb_update = new client . Histogram ( {
8683 name : 'openflow_mongodb_update_seconds' ,
8784 help : 'Duration for mongodb updates microseconds' ,
88- labelNames : [ 'collection' ] ,
89- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
85+ labelNames : [ 'collection' ]
9086 } )
9187 public static mongodb_update_count = new client . Counter ( {
9288 name : 'openflow_mongodb_update_count' ,
@@ -96,8 +92,7 @@ export class DatabaseConnection {
9692 public static mongodb_replace = new client . Histogram ( {
9793 name : 'openflow_mongodb_replace_seconds' ,
9894 help : 'Duration for mongodb replaces microseconds' ,
99- labelNames : [ 'collection' ] ,
100- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
95+ labelNames : [ 'collection' ]
10196 } )
10297 public static mongodb_replace_count = new client . Counter ( {
10398 name : 'openflow_mongodb_replace_count' ,
@@ -107,8 +102,7 @@ export class DatabaseConnection {
107102 public static mongodb_delete = new client . Histogram ( {
108103 name : 'openflow_mongodb_delete_seconds' ,
109104 help : 'Duration for mongodb deletes microseconds' ,
110- labelNames : [ 'collection' ] ,
111- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
105+ labelNames : [ 'collection' ]
112106 } )
113107 public static mongodb_delete_count = new client . Counter ( {
114108 name : 'openflow_mongodb_delete_count' ,
@@ -118,8 +112,7 @@ export class DatabaseConnection {
118112 public static mongodb_deletemany = new client . Histogram ( {
119113 name : 'openflow_mongodb_deletemany_seconds' ,
120114 help : 'Duration for mongodb deletemanys microseconds' ,
121- labelNames : [ 'collection' ] ,
122- buckets : [ 0.01 , 0.1 , 0.3 , 0.5 , 0.7 , 1 , 3 , 5 , 7 , 10 , 50 ]
115+ labelNames : [ 'collection' ]
123116 } )
124117 public static mongodb_deletemany_count = new client . Counter ( {
125118 name : 'openflow_mongodb_deletemany_count' ,
0 commit comments