Skip to content

Commit

Permalink
add metrics to prometheus.js
Browse files Browse the repository at this point in the history
  • Loading branch information
utsabc committed Oct 10, 2023
1 parent 917d1fa commit 17f12a6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/util/prometheus.js
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,24 @@ class Prometheus {
type: 'gauge',
labelNames: ['destType', 'feature'],
},
{
name: 'braze_batch_attributes_pack_size',
help: 'braze_batch_attributes_pack_size',
type: 'gauge',
labelNames: ['destination_id'],
},
{
name: 'braze_batch_events_pack_size',
help: 'braze_batch_events_pack_size',
type: 'gauge',
labelNames: ['destination_id'],
},
{
name: 'braze_batch_purchase_pack_size',
help: 'braze_batch_purchase_pack_size',
type: 'gauge',
labelNames: ['destination_id'],
},

// Histograms
{
Expand Down

0 comments on commit 17f12a6

Please sign in to comment.