@sentio/runtime 2.44.3-rc.6 → 2.44.3-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "2.44.3-rc.6",
3
+ "version": "2.44.3-rc.8",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
package/src/index.ts CHANGED
@@ -7,3 +7,4 @@ export * from './service.js'
7
7
  export { GLOBAL_CONFIG, type GlobalConfig } from './global-config.js'
8
8
  export * from './db-context.js'
9
9
  export * from './provider.js'
10
+ export * from './metrics.js'
package/src/metrics.ts CHANGED
@@ -138,11 +138,19 @@ export const processMetrics = {
138
138
  process_binding_count: new C('process_binding_count'),
139
139
  process_binding_time: new C('process_binding_time'),
140
140
  process_binding_error: new C('process_binding_error'),
141
+ process_ethcall_count: new C('process_ethcall_count'),
142
+ process_eventemit_count: new C('process_eventemit_count'),
143
+ process_metricrecord_count: new C('process_metricrecord_count'),
144
+ process_pricecall_count: new C('process_pricecall_count'),
141
145
  stats() {
142
146
  return {
143
147
  process_binding_count: this.process_binding_count.get(),
144
148
  process_binding_time: this.process_binding_time.get(),
145
- process_binding_error: this.process_binding_error.get()
149
+ process_binding_error: this.process_binding_error.get(),
150
+ process_ethcall_count: this.process_ethcall_count.get(),
151
+ process_eventemit_count: this.process_eventemit_count.get(),
152
+ process_metricrecord_count: this.process_metricrecord_count.get(),
153
+ process_pricecall_count: this.process_pricecall_count.get()
146
154
  }
147
155
  }
148
156
  }