@@ -10,46 +10,45 @@ function(this)
1010 discoveryMetric: {
1111 prometheus: 'wildfly_transactions_number_of_transactions_total' ,
1212 },
13- signals:
14- { // Transactions signals
15- transactionsCreated: {
16- name: 'Created transactions' ,
17- nameShort: 'Created transactions' ,
18- type: 'counter' ,
19- description: 'Number of transactions that were created over time' ,
20- sources: {
21- prometheus: {
22- expr: 'wildfly_transactions_number_of_transactions_total{%(queriesSelector)s}' ,
23- rangeFunction: 'increase' ,
24- legendCustomTemplate: '{{instance}}' ,
13+ signals:
14+ { // Transactions signals
15+ transactionsCreated: {
16+ name: 'Created transactions' ,
17+ nameShort: 'Created transactions' ,
18+ type: 'counter' ,
19+ description: 'Number of transactions that were created over time' ,
20+ sources: {
21+ prometheus: {
22+ expr: 'wildfly_transactions_number_of_transactions_total{%(queriesSelector)s}' ,
23+ rangeFunction: 'increase' ,
24+ legendCustomTemplate: '{{instance}}' ,
25+ },
2526 },
2627 },
27- },
28- transactionsInFlight: {
29- name : 'In-flight transactions' ,
30- nameShort : 'In-flight transactions ' ,
31- type : 'gauge ' ,
32- description: 'Number of transactions that are in-flight over time' ,
33- sources : {
34- prometheus: {
35- expr : 'wildfly_transactions_number_of_inflight_transactions{%(queriesSelector)s }' ,
36- legendCustomTemplate: '{{instance}}' ,
28+ transactionsInFlight: {
29+ name: 'In-flight transactions' ,
30+ nameShort : 'In-flight transactions' ,
31+ type : 'gauge ' ,
32+ description : 'Number of transactions that are in-flight over time ' ,
33+ sources: {
34+ prometheus : {
35+ expr: 'wildfly_transactions_number_of_inflight_transactions{%(queriesSelector)s}' ,
36+ legendCustomTemplate : '{{instance} }' ,
37+ } ,
3738 },
3839 },
39- },
40- transactionsAborted: {
41- name : 'Aborted transactions' ,
42- nameShort : 'Aborted transactions ' ,
43- type : 'counter ' ,
44- description: 'Number of transactions that have been aborted over time' ,
45- sources : {
46- prometheus: {
47- expr : 'wildfly_transactions_number_of_aborted_transactions_total{%(queriesSelector)s} ' ,
48- rangeFunction : 'increase ' ,
49- legendCustomTemplate: '{{instance}}' ,
40+ transactionsAborted: {
41+ name: 'Aborted transactions' ,
42+ nameShort : 'Aborted transactions' ,
43+ type : 'counter ' ,
44+ description : 'Number of transactions that have been aborted over time ' ,
45+ sources: {
46+ prometheus : {
47+ expr: 'wildfly_transactions_number_of_aborted_transactions_total{%(queriesSelector)s}' ,
48+ rangeFunction : 'increase ' ,
49+ legendCustomTemplate : '{{instance}} ' ,
50+ } ,
5051 },
5152 },
5253 },
53- },
5454 }
55-
0 commit comments