@@ -13,18 +13,30 @@ var StartTimeGauge = promauto.NewGauge(prometheus.GaugeOpts{
13
13
14
14
// ********************* GRAPH METRICS ******************
15
15
16
- // GraphAssetsTotalGauge reports the number of nodes in the graph
16
+ // GraphAssetsTotalGauge reports the number of nodes in the graph of a given source
17
17
var GraphAssetsTotalGauge = promauto .NewGaugeVec (prometheus.GaugeOpts {
18
18
Name : "go_graphkb_graph_assets_total_gauge" ,
19
- Help : "The number of nodes in the graph" ,
19
+ Help : "The number of nodes in the graph for a given source " ,
20
20
}, []string {"source" })
21
21
22
- // GraphRelationsTotalGauge reports the number of nodes in the graph
22
+ // GraphRelationsTotalGauge reports the number of nodes in the graph of a given source
23
23
var GraphRelationsTotalGauge = promauto .NewGaugeVec (prometheus.GaugeOpts {
24
24
Name : "go_graphkb_graph_relations_total_gauge" ,
25
- Help : "The number of edges in the graph" ,
25
+ Help : "The number of edges in the graph for a given source " ,
26
26
}, []string {"source" })
27
27
28
+ // GraphAssetsAggregatedGauge reports the number of nodes in the graph with the various sources merged
29
+ var GraphAssetsAggregatedGauge = promauto .NewGauge (prometheus.GaugeOpts {
30
+ Name : "go_graphkb_graph_assets_aggregated_gauge" ,
31
+ Help : "The number of nodes in the graph with the various datasource graphs merged" ,
32
+ })
33
+
34
+ // GraphRelationsAggregatedGauge reports the number of nodes in the graph with the various sources merged
35
+ var GraphRelationsAggregatedGauge = promauto .NewGauge (prometheus.GaugeOpts {
36
+ Name : "go_graphkb_graph_relations_aggregated_gauge" ,
37
+ Help : "The number of edges in the graph with the various datasource graphs merged" ,
38
+ })
39
+
28
40
// ********************* GRAPH UPDATE REQUESTS ******************
29
41
30
42
// GraphUpdateRequestsReceivedCounter reports the number of authorized and not rate limited updates requests received by the webserver
0 commit comments